Would you like to learn how to list all group policy objects in the domain using the command line? This tutorial will show you how to use the command line to list all GPOs in Active Directory.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 2022
• Windows 10
• Windows 11

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

Related tutorial – PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Powershell – List all Group policy objects

Start a Powershell command-line.

Start Powershell

List all GPO names.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

List all group policy object names and IDs.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Translate the GUID to the GPO name.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Translate the GPO name to GUID.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

List all GPO links.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

List all links of a specific GPO.

Copy to Clipboard

List all GPO permissions.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

List permissions of a specific GPO.

Copy to Clipboard

List all group policy objects using LDAP.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Some commands require the installation of the Powershell module for Active Directory management.

Copy to Clipboard

Congratulations! You are able to list group policy objects using Powershell.