

# Viewing Amazon Managed Microsoft AD directory information
<a name="ms_ad_view_directory_info"></a>

You can use the Amazon Web Services Management Console to view your Amazon Managed Microsoft AD directory details like: 
+ Directory type
+ Directory ID
+ Directory status
+ Networking details for your Amazon Managed Microsoft AD like:
  + Amazon VPC
  + Subnets
  + Availability zones
  + DNS addresses

You can find the following information about your Amazon Managed Microsoft AD:
+ Under the **Share & share** tab, you can share your Amazon Managed Microsoft AD with other Amazon Web Services accounts and learn the networking details for your domain controllers.
+ Under the **Application management** tab, you can enable an application access URL for your Amazon Managed Microsoft AD and enable Amazon applications and services for your Amazon Managed Microsoft AD.
+ Under the **Maintenance** tab, you can enable Amazon Simple Notification Service to receive notifications of your Amazon Managed Microsoft AD status and review snapshots of your Amazon Managed Microsoft AD.
+ For more information about the **Status** field, see [Understanding your Amazon Managed Microsoft AD directory status](ms_ad_directory_status.md).

You can view Amazon Managed Microsoft AD directory information using the Amazon Web Services Management Console, Amazon CLI, or PowerShell: 

------
#### [ Amazon Web Services Management Console ]

**To view detailed directory information**

1. In the [Amazon Directory Service console](https://console.amazonaws.cn/directoryservicev2/) navigation pane, under **Active Directory**, select **Directories**.

1. Choose the directory ID link for your directory. Information about the directory is displayed in the **Directory details** page. 

![\[Amazon Directory Service Directory details page.\]](http://docs.amazonaws.cn/en_us/directoryservice/latest/admin-guide/images/ms_ad_directory_details.png)


------
#### [ Amazon CLI ]

**To view detailed directory information with the Amazon CLI**
+ Open the Amazon CLI. To view your Amazon Managed Microsoft AD directory information, run the following command, replacing the Directory ID with your Amazon Managed Microsoft AD Directory ID: 

  ```
  aws ds describe-directories --directory-id d-1234567890 --output table
  ```

  For more information, see [https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ds/describe-directories.html](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ds/describe-directories.html).

------
#### [ PowerShell ]

**To view detailed directory information with PowerShell**
+  Open PowerShell. To view your Amazon Managed Microsoft AD directory information, run the following command, replacing the Directory ID with your Amazon Managed Microsoft AD Directory ID:

  ```
  (Get-DSDirectory -DirectoryId d-1234567890 | 
      ForEach-Object {$_, $_.RegionsInfo, $_.VpcSettings}) | 
  Format-List *
  ```

  For more information, see [https://docs.amazonaws.cn//powershell/latest/reference/items/Get-DSDirectory.html](https://docs.amazonaws.cn//powershell/latest/reference/items/Get-DSDirectory.html).

------