Select Page

GPO Version Powershell Cmdlets

The download includes a DLL and Help file. This is a 32-bit Powershell snap-in for version 1.0 of Powershell. Copy the two files to a folder, startup Powershell, change directories to where you copied the DLL, and then run installutil to install the snap-in as follows:

C:\windows\Microsoft.NET\Framework\v2.0.50727\installutil sdmgpoversion.dll

One registered, type the following to add the snap-in to your current Powershell console:

add-pssnapin SDMSoftware.Powershell.GPOVersion

The snap-in comes with 2 cmdlets:

Get-SDMGPOVersion: Retrieves AD & SYSVOL version information for one or more GPOs on a particular DC (similar to GPOTool.exe except for Powershell)

Invoke-SDMTouchGPO: Lets you increment a GPO’s version number to force clients to think something there has been a GPO change.

You can type get-help and then the cmdlet name to get syntax for each cmdlet

1. .Net Framework 4.5 or greater
2. Windows PowerShell 4.0 or greater