February 2019
Intermediate to advanced
626 pages
15h 51m
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 into shorter values. For example, a shorter value might be added to a message using the format operator, as shown here:
PS> '{0:F} TB available' -f (123156235234522 / 1TB) 112.01 TB available
Read now
Unlock full access