Switch branches/tags
Nothing to show
Find file History
Latest commit 20566eb Apr 5, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
images Add Get-ADGPOReplication Docs Apr 6, 2016
AD-GPO-Get-ADGPOReplication.ps1 Fix Typo AD-GPO-Get-ADGPOReplication Jan 14, 2015
README.MD Update README.MD Apr 6, 2016

README.MD

Get-ADGPOReplication

Blog article on lazywinadmin.com

Get-ADGPOReplication is retrieving the GPO version and Sysvol version accross the domain for one or more Group Policy objects. This can especially helps you troubleshooting replication issues.

This small function is taking advantage of the module ActiveDirectory to retrieve the list of all Domain Controllers and the module GroupPolicy to query one or more Group Policy objects.

For each GPO, It will then retrieve the version of the User/Computer configurations and the Sysvol Version.

##Examples Using the function against one GPO:

Get-ADGPOReplication -GPOName "AZE_Test"

Using the function against multiple GPO:

Get-ADGPOReplication -GPOName "AZE_Test", "AZE_Test2"

alt tag

Using the function against All GPO:

Get-ADGPOReplication -All

Optionally you can send the output to Out-Gridview which will give you a very nice view on all your GPO versions.

Get-ADGPOReplication -GPOName AZE_Test | Out-GridView -Title "AZE_Test $(Get-Date)"

alt tag