switch IF
If "
"If
switch ({})
switch If
switch
PS> $a = 3
PS> switch ($a) {
1 {"It is one."}
2 {"It is two."}
3 {"It is three."}
4 {"It is four."}
}
It is three.
Friday
break day5
switch 0
switch
{
"string"|number|variable|{ expression } { statementlist }
default { statementlist }
}
Switch ""
"pipeline" 0
Switch default
default ParseException
Switch
Regex
Wildcard Exact
Wildcard Regex
Exact
Exact Wildcard
Regex
CaseSensitive
File File
switch
Break Switch
Continue
Switch
Switch "Default"
(}) break
Break
Continue
about_Break
about_Continue
about_If
about_Script_Blocks