PowerTip: Use PowerShell to Get a Listing of All GPOs in a Domain

Doctor Scripto

Summary: Use a Windows PowerShell cmdlet from the RSAT tools to display all GPOs defined in a domain.

Hey, Scripting Guy! Question How can I get a listing of all the GPOs defined in my domain?

Hey, Scripting Guy! Answer Use the Get-GPO cmdlet from the RSAT tools. Instead of specifying a GPO name or GUID, use the –all switch, as shown here.

Get-GPO -all

0 comments

Discussion is closed.

Feedback usabilla icon