Powershell-miscellaneous-operators-examples

提供:Dev Guides
2020年6月23日 (火) 04:05時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

Powershell-その他の演算子の例

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

> $location = Get-Location

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

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

> $i = 1

> $i++

> $i
 2