Save formatting data from the current session to a file.

      Get-FormatData [[-TypeName] string[]] [CommonParameters] 

   -TypeName string[]
       Get only the formatting data with the specified type names.
       Enter the type names. Wildcards are permitted.


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.

Copyright © 1999-2024
Some rights reserved