I have this code snippet that works as expected
$xml = [xml](Get-Content $path)
$node = $xml.Configuration.Servers.Server
What I really want to do is pass "Configuration.Servers.Ser
ver" as a parameter. The various methods I have tried are failing.
So ultimately I want $node = $xml.$XMLPath
where $XMLPath = "Configuration.Servers.Server