PowerShell - Control Flow
Identify the error in this PowerShell switch statement:
switch $color {
'red' { 'Stop' }
'green' { 'Go' }
default { 'Wait' }
}switch $color {
'red' { 'Stop' }
'green' { 'Go' }
default { 'Wait' }
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions