TOP > lesson4

Lesson 4-4(if)

If




条件分岐は以下
if (条件){
            Write-Output "OK"
        } else {
            Write-Output "NG"
        }

else の代わりにelseifも使用可能

条件には、【$x -eq "ABC"】等を使用。