演算子
公式サイト:
使い方
参考:
PowerShell の演算子 | MURA’s Home Page
about_Operators | Windows PowerShell のヘルプ (forsenergy.com)
数値演算
参考:
算術演算子について | Microsoft Docs [公式]
代入
参考:
代入演算子の概要 | Microsoft Docs [公式]
比較演算子
参考:
比較演算子について | Microsoft Docs [公式]
論理演算 (and / or / xor / not)
- 論理積 (and):
-and - 論理和 (or(:
-or - 排他的論理和 (xor):
-xor - 否定 (not):
-notあるいは!
参考:
PowerShell の if 文で and, or, xor, not を記述する方法 | Windows と暮らす
about_Logical_Operators | Windows PowerShell のヘルプ (forsenergy.com)
論理演算子について | Microsoft Docs [公式]
ビット演算
- ビット論理積 (and):
-band - ビット論理和 (or):
-bor - ビット排他的論理和 (xor):
-bxor - ビット否定:
-bnot - 左シフト:
-shl - 右シフト:
-shr
参考:
ビットごとの論理演算子 (band, bor, bxor) を使用する | ITLAB51.COM
ドット
- メンバーアクセス演算子
- ドットソーシング演算子
参考:
メンバーアクセス演算子 | Microsoft Docs [公式]
ドットソーシング演算子 | Microsoft Docs [公式]
優先順位
参考: