Converts PowerShell objects into CliXML
Converts PowerShell objects into CliXML strings or compressed CliXML strings
EXAMPLE 1
dir | ConvertTo-ClixmlThe input object
| Type | Required | Position | PipelineInput |
|---|---|---|---|
[PSObject[]] |
true | 1 | true (ByValue) |
The depth of objects to serialize. By default, this will be the $FormatEnumerationLimit.
| Type | Required | Position | PipelineInput |
|---|---|---|---|
[Int32] |
false | named | false |
ConvertTo-CliXml [-InputObject] <PSObject[]> [-Depth <Int32>] [<CommonParameters>]