Getting XML values in PowerShell

I couldn’t believe how easy this was when I finally figured it out… I needed to enumerate all of the email addresses with an <email> tag in an XML file. The only really tricky thing was using the “InnerXML” property  # Create XML document from file$MemberDoc = (get-content $XMLFile) # Get all of the email addresses…