GPO all about group policies

Powershell command List all policies on a domain controller
PS C:\> (get-ADForest).domains | foreach { get-GPO -all -Domain $_ | Select-Object @{n='Domain Name';e={$_.Do
mainName}}, @{n='GPO Name';e={$_.DisplayName}} }

Export GPO report
PS C:\> Import-Module GroupPolicy
PS C:\> Get-GPOReport -All -ReportType html c:\temp\gporeport.html

Policies applied to computer
gpresult /Scope Computer /v

Policies applied to user
gpresult /Scope User /v

All policies export to file
gpresult/z >settings.txt

List all policies from management console GPO management
Start - Run - MMC
File- Add / remove Snapin - Select Group Policy management - OK

 

Click on the domain and select Group Policy Objects

Here you have a detail view of all policies and also the possibility to make a backup off all policies (right click)

 

 

 

No Comments

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *