PowerShell Tutorial
PowerShell: Bit Operators
By Xah Lee. Date:
2026-04-25
.
-band
bitwise and
-bnot
bitwise not
-bor
bitwise or
-bxor
bitwise xor
-shr
bitwise shift right
-shl
bitwise shift left
PowerShell operators
PowerShell: Arithmetic Operators
PowerShell: Assignment Operators
PowerShell: Boolean Operators
PowerShell: Regular Expression Operators
PowerShell: Bit Operators
Search 🔍
How-to
In-depth
Scripts Examples
In-depth
File Name Extension
File Name Extension
Comment
Comment
Semicolon
Print
Print
Object and Type
Object Type, Properties, Methods
Path
Path Tutorial
Path Expansion
Path Functions
Pipe
Pipe Output
Pipeline Commands
Number
Number Input
Arithmetic
String
String
Variable
Assignment
Variable
Automatic Variables
Boolean
Boolean
Boolean Operators
Test Equality
Compare Numbers
Conditional
If Else
Data Structure
Array
Hashtable, Dictionary
Loop, Iteration
Loop
Input, Output
Prompt User
Read File
Write File
Function
Function
Error
throw
Profile and Script
Profile
Write Script
Load a Script
Eval
Get Script Path
Misc
Timing, Benchmark
What is Cmdlet
Provider, Datastore