Get-FormatData

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.

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.


 
Copyright © 1999-2021 SS64.com
Some rights reserved