Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Export-FormatData

Export-FormatData - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Export-FormatData

Short description
Saves formatting data from the current session in a formatting file.

Syntax
Export-FormatData [-Force] [-IncludeScriptBlock] [-NoClobber] -InputObject <ExtendedTypeDefinition[]> -Path <String> [<
CommonParameters>]
Export-FormatData [-Force] [-IncludeScriptBlock] [-NoClobber] -InputObject <ExtendedTypeDefinition[]> -LiteralPath <Str
ing> [<CommonParameters>]





Description
The Export-FormatData cmdlet creates Windows PowerShell formatting files (format.ps1xml) from the formatting objects in
 the current session. It takes the ExtendedTypeDefinition objects that Get-FormatData returns and saves them in a file 
in XML format.


Windows PowerShell uses the data in formatting files (format.ps1xml) to generate the default display of Microsoft .NET 
Framework objects in the session. You can view and edit the formatting files and use the Update-FormatData cmdlet to ad
d the formatting data to a session.


For more information about formatting files in Windows PowerShell, see about_Format.ps1xml.