Comment exporter toutes les stratégies de groupe dans un format facilement analysable ?

Comment puis-je exporter toutes mes GPO dans un format qui peut être facilement analysé, comme HTML, XML ou CSV ?

Utilisez PowerShell :

# Exporter toutes les GPO en HTML
Get-GPO -All | ForEach-Object {
    Get-GPOReport -Guid $_.Id -ReportType Html -Path "C:\GPO_Reports\$($_.DisplayName).html"
}

# Exporter en XML
Get-GPO -All | ForEach-Object {
    Get-GPOReport -Guid $_.Id -ReportType Xml -Path "C:\GPO_Reports\$($_.DisplayName).xml"
}

Vous pouvez aussi utiliser Backup-GPO -All -Path C:\GPO_Backup pour une sauvegarde complète.