Format-FileSize

DO NOT USE. Not part of the public API.

Syntax

Format-FileSize `
  -Size <Double> `
  [-IgnoredArguments <Object[]>] [<CommonParameters>]

Description

Formats file size into a human readable format.

Notes

This function is not part of the API.

Aliases

None

Examples

EXAMPLE 1

Format-FileSize -Size $fileSizeBytes

Inputs

None

Outputs

None

Parameters

-Size <Double>

PropertyValue
Aliases
Required?true
Position?1
Default Value0
Accept Pipeline Input?false

-IgnoredArguments [<Object[]>]

PropertyValue
Aliases
Required?false
Position?named
Default Value
Accept Pipeline Input?false

<CommonParameters>

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 .

Function Reference

:choco-info: 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