Powershell-miscellaneous-operators-examples

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

Powershell-その他の演算子の例

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

> $location = Get-Location

> $location -is 'System.Management.Automation.PathInfo'
 True

> $location -isNot 'System.Management.Automation.PathInfo'
 True

> $i = 1

> $i++

> $i
 2