Would you like to learn how to enumerate the Active Directory domain? In this tutorial, we will show you how to enumerate the Windows domain using the command line.

• 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.

Tutorial Powershell - Enumerate Active Directory domain

Start a Powershell command-line.

Start Powershell

Enumerate the Active Directory forest.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

There are multiple ways to enumerate the Forest.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Enumerate the Active Directory domain.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

There are multiple ways to enumerate the domain.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Enumerate all users in the domain.

Copy to Clipboard

Enumerate all computers in the domain.

Copy to Clipboard

Enumerate all groups in the domain.

Copy to Clipboard

Enumerate all GPOs in the domain.

Copy to Clipboard

Enumerate all organizational units in the domain.

Copy to Clipboard

You must have RSAT installed or have a copy of its DLL loaded.

Copy to Clipboard

Congratulations! You are able to enumerate the Active Directory domain using Powershell.