CmdID / PowerShell / Cmdlets / Get
Get-ADServerSettings
Use the Get-ADServerSettings cmdlet to view the Active Directory Domain Services (AD DS) environment settings in the current Exchange Management Shell session. Exchange PowerShell reference
From the Exchange PowerShell reference Its page in the reference