Wednesday, January 12, 2011

List of GPO's

How do I get a list of GPO's applied against a machine in a Win2k8 environment remotely?

I would prefer a powershell solution, but anything will help.

  • GPRESULT

    http://technet.microsoft.com/en-us/library/cc733160(WS.10).aspx

    Works against remote computers.

    In windows 2003 we had to type GPRESULT only in the command line in order to view the Applied Group polices however in windows server 2008 we need to type the /R switch after the gpresult.

    From Rob Bergin
  • GPResult as Rob mentioned is an excellent way of doing this. You can however also get at this information via the WMI RSP Classes. Check out http://msdn.microsoft.com/en-us/library/aa375082(VS.85).aspx for further information as this may allow you to do this in powershell against all of your machines in the environment.

  • There is 3rd party tools that supposedly do it in PowerShell here: http://www.sdmsoftware.com/freeware

    Particularly: Out-SDMRSOPLoggingReport: Creates and XML or HTML Group Policy Results report

    From TheCleaner
  • The Group Policy Management Console can also do this in a GUI manner, and has nice features such as letting you see exactly which policy each setting is coming from.

    From mh

0 comments:

Post a Comment