PowerTip: Display Formatted XML with PowerShell

Doctor Scripto

Dr Scripto

Summary: Use a free cmdlet to display formatted XML with Windows PowerShell.

Hey, Scripting Guy! Question How can I display formatted XML from within Windows PowerShell?

Hey, Scripting Guy! Answer Use the Format-XML cmdlet from the PSCX project:

Format-Xml C:\fso\users.xml

Note  For information about the PSCX project, this collection of Hey, Scripting Guy! Blog posts.

0 comments

Comments are closed. Login to edit/delete your existing comments