====== Powershell ====== Wenn man kein AD hat und nur lokale Gruppenrichtlinien als CSV braucht (hier sind keine Kommentare enthalten), kann man sie einfach so als XML exportieren: gpresult.exe /scope:computer /x output.xml Man kann //scope:computer// ändern oder weglassen, um den Output zu verändern. Parsen eines GPO-Reports (aus AD) im XML-Format und Ausgabe in CSV (inkl. optionalem Kommentar): 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