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.

link|improve this question

17% accept rate
feedback

4 Answers

up vote 5 down vote accepted

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.