Skip to content

Instantly share code, notes, and snippets.

@rarous
Created March 16, 2012 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rarous/2049505 to your computer and use it in GitHub Desktop.
Save rarous/2049505 to your computer and use it in GitHub Desktop.
Hromadné parsování XML manifestů a export vybraných dat do CSV
$manifests = Get-ChildItem -Include manifest.xml -Recurse
$manifests
| %{ [xml] $m = Get-Content $_; $m.manifest }
| select @{Name="businessBranch";Expression={[int]$_.businessBranch}},title
| sort businessBranch,title
| Export-Csv ~\Documents\templates2.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment