Powershell-logical-operators-examples

提供:Dev Guides
移動先:案内検索

Powershell-論理演算子の例

次のスクリプトは、論理演算子を示しています。

> $a = 10

> $b = 20

> $a -AND $b
 True

> $a -OR $b
 True

> -NOT ($a -AND $b)
 False