I am writing a PowerShell Rest Call to Publish an XML file that was exported by Nintex. I want to create a json object with the new Guid called List.
Essentially I need a structure like the following:
"formXml": "<?xml version=\"1.0\" encoding=\"utf-16\"?>...</Form>"
Anyone have any quick Ideas of reading in the file and encoding it?