I have a folder with 400+ xml files, I am trying to change the value of multiple nodes in all of them using a powershell script, I cant figure out how to save the files once they are edited, below is what i did so far
$xml.save("$filepath = $_.FullName") this line of code isn't saving any of the .xml files, no error message in ISE, but error in powershell:
You cannot call a method on a null-valued expression.
At line:1 char:1
+ $xml.save("$filepath = $_.FullName")
I have executed the following to test how much of the codes are effective by