powershell:switch
Switch-Anweisung
switch ($a) { "Value1" {//Scriptblock//} "Value2" {//another Scriptblock//} default {//Scriptblock what to do, if no case//} }
Quelle: https://technet.microsoft.com/en-us/library/ff730937.aspx
powershell/switch.txt · Zuletzt geändert: 2017/09/15 09:54 von ronny