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 .\_c__ChromeSecuritySettings.c217.u0.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 "test.csv" -Encoding "UTF8" -Delimiter ";" -NoTypeInformation
windows/powershell.1529170716.txt.gz · Zuletzt geändert: 16.06.2018 19:38 von Jan Erik Zassenhaus
