Active Directory PowerShell Commands

You can enable Windows PowerShell to execute commands on your Active Directory system. All standard Active Directory commands are supported on your system. For more information on Active Directory PowerShell commands, refer to Microsoft Active Directory.

Note
You can use PowerShell commands to find your configuration information if it's running on a computer connected to the domain.

To get your forest and domain information, complete the following:

  1. Select the Windows Start button, search for PowerShell, and then select Windows PowerShell.

  2. To view your domain information, enter the following command: Get -ADDomain, and then press the Enter key.

  3. To view your forest information, enter the following command: Get -ADForest, and then press the Enter key.