Ads

Skyscraper

Free Tools

Free Tools
Tools » GPO Tools » Free Tools Details

GPO Version Powershell Cmdlets

Powershell cmdlets to get GPO version information and also to "Touch" a GPO's version to force clients to think the GPO has changed.

 Print

Download

Rating:
  • Currently 2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Comments:2
Owner:Darren Mar-Elia
Created:6/4/2009
Modified:10/20/2009
Visited:2234

*** UPDATED 10/19/09 to fix issue with whatif parameter incorrectly reporting new GPO version

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

DISCLAIMER: Everything posted here is offered as is. By downloading it, you accept full responsibility for testing to ensure it does not cause any problems in your own environment. There is no warranty on any of the code or files on this page, so it's up

Post Comment

Disclaimer

DISCLAIMER: Everything posted here is offered as is. By downloading it, you accept full responsibility for testing to ensure it does not cause any problems in your own environment. There is no warranty on any of the code or files on this page, so it's up to you to make sure it's safe for your environment. Please don't repost or re-use the tools or content elsewhere unless you get prior approval from the author (all GPOGuy tools are written by me unless otherwise noted). Many of the files on this page are offered as freeware (unless otherwise noted by the author), and as such should not be sold by anyone else.


Ads

Banner Inv
Copyright 2009 by GPOGUY.COM
Terms Of Use