Binary operators are used to perform bitwise operations in PowerShell. That is, operations based around the bits that make up a numeric value. Each operator returns the numeric result of a binary operation.
The available operators are:
- Binary and: -band
- Binary or: -bor
- Binary exclusive or: -bxor
- Binary not: -bnot