Found 1 bookmarks
By relevance
PowerTip: Use PowerShell to Easily Read an XML Document
PowerTip: Use PowerShell to Easily Read an XML Document
Summary: Use the [xml] type accelerator to greatly simplify reading XML documents. How can I easily read an XML file? Use the [XML] type accelerator to convert results from Get-Content into an XML document, and then use dotted notation to access the nodes: [xml]$books = Get-Content C:\fso\Books.XML $books.catalog.book.title
·devblogs.microsoft.com·
PowerTip: Use PowerShell to Easily Read an XML Document