Link to home
Start Free TrialLog in
Avatar of Isaias Perez
Isaias PerezFlag for United States of America

asked on

Active Directory - Audit Group Policy

I would like to perform a group policy audit on my Primary DC. My hope is to clean up group policy and check to see what we no longer need and can get rid off. What is the best way to accomplish this? Is there a tool or powershell script i can run?
Avatar of Robert
Robert
Flag of United States of America image

The following would likely be a good starting point.
It will generate a report of all your GPO's
Import-Module GroupPolicy
Get-GPOReport -All -ReportType Html -Path C:\Temp\AllGPOsReport.htm

Open in new window

Avatar of Isaias Perez

ASKER

This is the error message i get when trying to run that.

Import-Module : The specified module 'GroupPolicy' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module GroupPolicy
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (GroupPolicy:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Open in new window


 
ASKER CERTIFIED SOLUTION
Avatar of Robert
Robert
Flag of United States of America 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
Thank you. Found this article that helped with RSAT installation on my version of Windows 10.

https://www.microsoft.com/en-us/download/details.aspx?id=45520