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:
-
Select the Windows Start button, search for PowerShell, and then select Windows PowerShell.
-
To view your domain information, enter the following command:
Get -ADDomain
, and then press the Enter key. -
To view your forest information, enter the following command:
Get -ADForest
, and then press the Enter key.