Hi,
I'm looking to use powershell to alter xml. I haven't been able with powershell to copy xml using the xpath. I can load the xml with the following:
$doc = new-object "System.Xml.XmlDocument"
$doc.Load("XmlPath.xml")
but after I get the XML I can't figure out how to list the xml with an xpath and create another xml file with what I retrieve. Also how would you add the removed xml to another xml file?
I haven't used Powershell much so just a beginner. So any help would be great.
Thanks