mikeydk
asked on
SelectSingleNode in Powershell
Hey
$org = "123"
XML @orgunit = "MyDepartment(123)"
$xml.SelectSingleNode("//* [@orgunit= '$org']")
How do I match the "123" with the "MyDepartment(123)" - the department number is always between the ().
$org = "123"
XML @orgunit = "MyDepartment(123)"
$xml.SelectSingleNode("//*
How do I match the "123" with the "MyDepartment(123)" - the department number is always between the ().
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.