News
Trying to parse event XML with PowerShell Barmaglot Dec 7, 2014 Jump to latest Follow Reply ...
In the latest version of Powershell, working with an XML variable seems to have been stripped of these functions, at least when you're working with the last element in the tree.
Now let's say you want to read this XML file with PowerShell. To do this, I'll use the [xml] type accelerator and Get-Content to pull out all the text and convert it to XML.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results