Format-XML (Journey to Pretty XML output)
I ran across a need to use Export-CliXML to produce human readable XML. Since, I never really cared what the output looked like so I let the blob go.
Now I care
I sent a message to the Powershell Dev Team and as always they are super speedy in response. (less than 1hr… that is INSANE.)
Enter Format-XML
http://blogs.msdn.com/powershell/archive/2008/01/18/format-xml.aspx
Help for Export-Clixml
http://technet.microsoft.com/en-us/library/bb978636.aspx
Thanks Again Jeffrey and Team!
p.s. I dont believe I ever said the output (Export-CliXML) looked like crap… just not Pretty
tshell :: Jan.18.2008 :: All, functions, HowTo, Powershell :: 1 Comment »
One Response to “Format-XML (Journey to Pretty XML output)”
Leave a Reply
You must be logged in to post a comment.


Format-XML is a PSCX cmdlet also … their code has a few more options you could expose in the script if you wanted to
http://www.codeplex.com/PowerShellCX/SourceControl/FileView.aspx?itemId=101868&changeSetId=29385