PowerTip: Display Formatted XML with PowerShell

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.

Comments (1)

Skip to main content