PowerShell - Flow Command
If (condition) { --- }
If (condition) {
}
# condition
# greater than
$var -gt 0
# equal true
$var -eq $True
$var -eq 0
# not equal
$var -ne 0
# not
-Not $var
If (condition) { --- }
If (condition) {
}
# condition
# greater than
$var -gt 0
# equal true
$var -eq $True
$var -eq 0
# not equal
$var -ne 0
# not
-Not $var