Uncomment xml node using batch file or powershell



How can I uncomment a node in XML file using command prompt with powershell or simple batch file.



<Settings>
<SettingNode name="Installation">
<SettingNode name="Features">
<Setting name="Features" scope="Installation">
<StringArray>
<!-- Uncomment the below line to activate the required features for the Pilot Version-->
<!--<String>PilotVersion</String>-->
<String>GlobalSearchAndReplace</String>
</StringArray>
</Setting>
</SettingNode>
</SettingNode>
</Settings>

No comments:

Post a Comment