Hello,
Thanks for posting the query here and we are happy to help you.
To load and modify the data from an existing XML, you can use the PowerShell script.
Please refer following link to execute a PS script.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_run_with_powershell?view=powershell-7.2
Following script works fine. Kindly update the details for each field.
Create xml doc - assumes your xml is in below locationl
$xml = xml
Update new element for <add>
$xml.NasNode.Items.Item.Username = "User1"
$xml.NasNode.Items.Item.ComputerID= "IDSample"
Save to file
$xml.Save("C:\Users\userme\Desktop\PS-Scripts\new.xml")
Here is a helpful page with information about Windows PowerShell
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/powershell
-------------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer.--