Benutzer-Werkzeuge

Webseiten-Werkzeuge


windows:powershell

Dies ist eine alte Version des Dokuments!


Powershell

Parsen eines GPO-Reports im XML-Format und Ausgabe in CSV (inkl. optionalem Kommentar):

transformpoXmltoCsv.ps1
Select-Xml -Path .\XmlFiletoParse.xml -Namespace @{GPO='http://www.microsoft.com/GroupPolicy/Settings/Registry'} -XPath "//GPO:Policy" | Select-Object -ExpandProperty "Node" | Select Name,State,Comment,Explain,Supported,Category | Export-Csv "Result.csv" -Encoding "UTF8" -Delimiter ";" -NoTypeInformation
windows/powershell.1529170767.txt.gz · Zuletzt geändert: 16.06.2018 19:39 von Jan Erik Zassenhaus