Powershell-logical-operators-examples
提供:Dev Guides
Powershell-論理演算子の例
次のスクリプトは、論理演算子を示しています。
> $a = 10
> $b = 20
> $a -AND $b
True
> $a -OR $b
True
> -NOT ($a -AND $b)
False
次のスクリプトは、論理演算子を示しています。
> $a = 10
> $b = 20
> $a -AND $b
True
> $a -OR $b
True
> -NOT ($a -AND $b)
False