Contact Info

Crumbtrail

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

Export-Clixml - Powershell 1.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

Description
Produce a clixml representation of powershell objects

Usage


Options


Example(s)
Creates an XML file that represents the string, "This text will become XML"

PS C:>"This text will become XML" | export-clixml c:\SimpleDemo.xml

Use Get-Acl to retrieve an object containg the ACLs (security descriptors) for a file, and pipe the result into an XML file.

PS C:>get-acl C:\ss64.txt | export-clixml -Path E:\ss64_acl.xml

Retrieve the ACL object from a saved XML file and store in the variable $var_ss64_acl:

PS C:>$var_ss64_acl = import-clixml E:\ss64_acl.xml