Bitwise operators in PowerShell: -band, -bor, -bxor, -bnot, -shl, and -shr
PowerShell provides multiple operators to manipulate binary numbers at the bit level. In addition to an AND and an OR operator, this includes those used for an exclusive OR and negation. There are also two shift operators, which shift the bits by a certain number of positions to the left or right.
The post Bitwise operators in PowerShell: -band, -bor, -bxor, -bnot, -shl, and -shr first appeared on 4sysops.