June 9th, 2014

PowerTip: Display Formatted XML with PowerShell

Doctor Scripto
Scripter

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.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback