Specify switch parameter type

This commit is contained in:
Mario Romero 2023-09-06 01:11:20 -03:00
parent 0433b2acea
commit 933aac42cc

View File

@ -1,4 +1,4 @@
param($remote)
param([switch] $remote = $false)
$imagename = Read-Host -Prompt 'Container image to initialize'
$containername = Read-Host -Prompt 'Container instance name [default=$imagename]'