What is the full list of suffixes you can use on PowerShell number literals?
So far I have found:
╔════════╦═════════╦════════════════════════╗
║ Suffix
The suffices are fully documented here.
y signed byte data type Added in PowerShell 6.2
uy unsigned byte data type Added in PowerShell 6.2
s short data type Added in PowerShell 6.2
us unsigned short data type Added in PowerShell 6.2
l long data type
u unsigned int or long data type Added in PowerShell 6.2
ul unsigned long data type Added in PowerShell 6.2
kb kilobyte multiplier
mb megabyte multiplier
gb gigabyte multiplier
tb terabyte multiplier
pb petabyte multiplier
According to the PowerShell Language Specification (V3) that is the complete set.
l
, kb
, mb
, gb
, tb
, and pb
.d
.As far as I am aware (no update to the specification has been published) PowerShell V4 does not add any further suffixes.