0% found this document useful (0 votes)
55 views1 page

Output To XML Examples

The document provides instructions for working with XML examples in PowerShell, including using the Export-Clixml cmdlet to export the output of Get-ChildItem to an XML file, then using Import-Clixml to load the XML data into a variable and display the variable contents.

Uploaded by

roderinde
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views1 page

Output To XML Examples

The document provides instructions for working with XML examples in PowerShell, including using the Export-Clixml cmdlet to export the output of Get-ChildItem to an XML file, then using Import-Clixml to load the XML data into a variable and display the variable contents.

Uploaded by

roderinde
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

Working with XML Examples

gci | Export-Clixml C:\XMLtest.xml to create


xml file from Get-ChildItem
$x = Import-Clixml C:\XMLtest.xml load xml
data into variable
$x

You might also like