Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.18 KB

File metadata and controls

59 lines (39 loc) · 1.18 KB

ConvertTo-CliXml

Synopsis

Converts PowerShell objects into CliXML


Description

Converts PowerShell objects into CliXML strings or compressed CliXML strings


Related Links


Examples

EXAMPLE 1

dir | ConvertTo-Clixml

Parameters

InputObject

The input object

Type Required Position PipelineInput
[PSObject[]] true 1 true (ByValue)

Depth

The depth of objects to serialize. By default, this will be the $FormatEnumerationLimit.

Type Required Position PipelineInput
[Int32] false named false

Outputs


Syntax

ConvertTo-CliXml [-InputObject] <PSObject[]> [-Depth <Int32>] [<CommonParameters>]