Link to home
Start Free TrialLog in
Avatar of Sonia Bowditch
Sonia BowditchFlag for Guernsey

asked on

Group Policy Report Part 2

Alex kindly helped me with the following:

Get-GPOReport -All -ReportType Xml -Path "C:\temp\GPOReportAll.xml"

I tried to use the same command on a Server running Windows Server R2 but it won't recognise the Get-GPOReport cmdlet and it won't let me import it.  I need to get a GPO Report from this server as it is our DC.

Since I was struggling I thought I would try to get the GPOReport  using our second DC running the following command:

Get-GPOReport -All -Domain "mydomain" -Server "SERVER01" -ReportType Html -Path "C:\GPOReportAll01.html"

However, all I get is the GPO from Server10 the server I am running the command from which is running Windows 12 R2.

Any help would be greatly appreciated.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Alex
Alex
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sonia Bowditch

ASKER

Thanks again Alex.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Run the command from a computer that has the ActiveDirectory module installed and imported

GPResult is not the same as Get-GPOReport

GPResult is RSOP of the computer that you run it on. Get-GPOReport is all GPOs

Massive difference