DO NOT USE. Not part of the public API.
Format-FileSize `
-Size <Double> `
[-IgnoredArguments <Object[]>] [<CommonParameters>]Formats file size into a human readable format.
Available in 0.9.10+.
This function is not part of the API.
None
EXAMPLE 1
Format-FileSize -Size $fileSizeBytes
None
None
The size of a file in bytes.
| Property | Value |
|---|---|
| Aliases | |
| Required? | true |
| Position? | 1 |
| Default Value | 0 |
| Accept Pipeline Input? | false |
Allows splatting with arguments that do not apply. Do not use directly.
| Property | Value |
|---|---|
| Aliases | |
| Required? | false |
| Position? | named |
| Default Value | |
| Accept Pipeline Input? | false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/p/?LinkID=113216 .
- [[Get-WebFile|HelpersGetWebFile]]
[[Function Reference|HelpersReference]]
NOTE: This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Format-FileSize -Full.
View the source for Format-FileSize