How to write data to an xml file using Powershell
How to write data to an xml file using Powershell
Recently, I came up with a requirement of updating an config file (Xml data) in our PROD environment without login in to the sever to avoid the manual error, which lead to create this post. Let we start this implementation by step by step, here I’m using the XmlDocument .Net object here but it is possible to utilize other .Net classes, e.g. XPath and/or XDocument.
Sample XML file (web.config)Â
Th…
View On WordPress










