Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Powershell script to edit Unattend.xml file

$
0
0
Hi! I have xml file with data like:
<?xml version="1.0" encoding="UTF-8"?>

    -<unattend xmlns="urn:schemas-microsoft-com:unattend">
    -<settings pass="specialize">
    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-IE-InternetExplorer"><Home_Page>https://www.primevideo.com/</Home_Page><DisableWelcomePage>false</DisableWelcomePage></component>
    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup"><RegisteredOrganization>LW</RegisteredOrganization><RegisteredOwner>Staff</RegisteredOwner></component></settings>
I am trying to change Registered Organization and Registered Owner using Powershell Script.

Kindly help me with any sample Scripts to do this changes.

Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>