How to get all the parents of a child XML Node in powershell
问题 So I've been working on an XML file that has a folder structure stored in it and I want to be able to validate that the folder structure exists in the file system. While there are many ways to try and do this "Resolve-Path" "Get-ChildItems" etc ... I want to be able to build the path that's in the XML structure and put it into a string or something to I can just run Test-Path against it. Sounds easy enough right? Well probably for some seasoned Powershell veterans it might be but I'm new to