3 lines
99 B
Text
3 lines
99 B
Text
function SwitchTest ([switch] $on) {
|
|
Write-Host Switched $(if ($on) { "on" } else { "off" })
|
|
}
|