Skip to content

Instantly share code, notes, and snippets.

@62mkv
Created October 26, 2016 06:04
Show Gist options
  • Save 62mkv/ae7d0e63c16fb3ec25ea05183b508b5c to your computer and use it in GitHub Desktop.
Save 62mkv/ae7d0e63c16fb3ec25ea05183b508b5c to your computer and use it in GitHub Desktop.
Select only one property of every element of a given type in an XML-file (in PowerShell)
Select-XML -XPath "response/action/provider/@fullName" -Path providers.xml | Select-Object -ExpandProperty Node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment