Because there is no easy/built-in way to edit XML using Powershell, I wrote a script that can change parts of XML documents.
I used it for bulk edit of connections in Remote Desktop Manager, to change some values in RDP session over dozens of servers.
You can modify it for your needs - in simple cases you would only need to change ArrayOfConnection to your document’s root.
| |
Usage:
| |