Get a list of your Group Policy Objects using PowerShell

I use this cmdlet for periodic auditing of Group Policies:

Get-GPO -All | select DisplayName, ID, Description, CreationTime, ModificationTime | Export-Csv c:\temp\GPOs.csv -NoTypeInformation

This produces a CSV file with the following information:

Default Domain Policy xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Created with AD installation 9/1/2009 15:31 12/12/2012 19:05
Another Group Policy xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Description for GPO 2 10/3/2009 17:45 10/4/2009 9:23
Policy Three xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Description for GPO 3 4/16/2010 20:01 5/20/2011 5:54

If any policy has been modified within the last 30 days, then I can investigate further.

3 responses to “Get a list of your Group Policy Objects using PowerShell”

  1. Aninimo says:

    Muchas gracias, es de mucha utilidad para auditoria a mis colaboradores.

  2. jay c says:

    De nada. Con demasiados cocineros en la cocina, las Group Policies pueden llegar a ser desordenado.

Leave a Reply

Your email address will not be published. Required fields are marked *