Tips for golfing in PowerShell
Powers of 10 literals with scientific notation:

4e6 = 4000000


Powers of 2 literals:

4KB = 4096
4MB = 4194304
4GB = 4294967296

# TB and PB suffixes also exist, but less useful for golf.


Could come in handy.