October 2017
Intermediate to advanced
440 pages
11h 47m
English
PowerShell provides operators for working with bytes. These operators are as follows:
These operators can be used to represent large values:
PS> 22.5GB24159191040
The operators may also be used to convert large byte values to shorter values. For example, a shorter value might be added to a message using the format operator:
PS> '{0:F} TB available' -f (123156235234522 / 1TB) 112.01 TB available
Read now
Unlock full access