Save formatting data from the current session to a file.
Syntax
Get-FormatData [[-TypeName] string[]] [CommonParameters]
Key:
-TypeName string[]
Get only the formatting data with the specified type names.
Enter the type names. Wildcards are permitted.
CommonParameters:
-Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable,
-OutBuffer -OutVariable.
Examples
Get all the formatting data in the session:
PS C:> get-formatdata
Get the formatting data items whose names begin with "Microsoft.Wsman":
PS C:> get-formatdata -typename Microsoft.Wsman*
Get a formatting data object and examine its properties:
PS C:> $f = get-formatdata -typename helpinfoshort
PS C:> $f
“What we imagine is order is merely the prevailing form of chaos” ~ Kerry Thornley
Related PowerShell Cmdlets:
Export-FormatData - Save formatting data from the current session.