I’m having a hard time understanding how to read XML files, and how to edit it. I’m not sure where to go from here.
$xmlfile = "path to the xml file" [xml] $readxml = Get-Content $xmlfile
How would I access the elements in the xml file?
I’m having a hard time understanding how to read XML files, and how to edit it. I’m not sure where to go from here.
$xmlfile = "path to the xml file" [xml] $readxml = Get-Content $xmlfile
How would I access the elements in the xml file?
Hi
Pipe it to Get-Member and start to look around. It might be something like $readxml.something or $readxml.something.else
Regards
Jake