Powershell : Read XML File
Schneller Weg um in Powershell XML Files zu lesen.
[xml]$books = (Get-Content -Path .\books.xml)
foreach ($item in $books.catalog.book)
{
Write-Output('ID : {0} - AUTOR : {1} - GENRE : {2}' -f $item.id , $item.author , $item.genre)
}als beispiel xml habe ich books.xml von microsoft verwendet