Link to home
Start Free TrialLog in
Avatar of mikeydk
mikeydkFlag for Denmark

asked on

XML in Powershell - beginning

XML in Powershell for beginners :)

I have the following XML structure:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<roles version="2.0">
	<role id="7722" name="System1">
		<system permission="allow"/>
		<folders permission="allow"/>
		<globalfavorites/>
		<user>joe</user>
	</role>
</roles>

Open in new window


(read XML)

How do I add a role? (including childs)

How do I delete a role? (including childs)

(and save to file)


Thanks in advance

Michael
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial