Contact Info

Crumbtrail

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

Export-Clixml - 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-Clixml

Short description
Creates an XML-based representation of an object or objects and stores it in a file.

Syntax
Export-Clixml [-Path] <String> [-Depth <Int32>] [-Encoding <String>] [-Force] [-NoClobber] -InputObject <PSObject> [-Co
nfirm] [-WhatIf] [<CommonParameters>]
Export-Clixml [-Depth <Int32>] [-Encoding <String>] [-Force] [-NoClobber] -InputObject <PSObject> -LiteralPath <String>
 [-Confirm] [-WhatIf] [<CommonParameters>]





Description
The Export-Clixml cmdlet creates an XML-based representation of an object or objects and stores it in a file. You can t
hen use the Import-CLIXML cmdlet to re-create the saved object based on the contents of that file.


This cmdlet is similar to ConvertTo-XML, except that Export-Clixml stores the resulting XML in a file. ConvertTo-XML re
turns the XML, so you can continue to process it in Windows PowerShell.