Determining Whether Global Catalog Promotion Is Complete
This topic explains how to use the Active Directory module for Windows PowerShell to determine whether global catalog promotion is complete. When you perform this task, you promote a specified domain controller to act as a global catalog domain controller for a domain.
Example
The following example demonstrates how to determine whether global catalog promotion is complete for the server Fabrikam-DC1:
Get-ADRootDSE -Server Fabrikam-DC1 | FT GlobalCatalogReady
Get-ADRootDSE -Server Fabrikam-DC1 | FT GlobalCatalogReady
Additional information
For a full explanation of the parameters that you can pass to Get-ADRootDSE, at the Active Directory module command prompt, type Get-Help Get-ADRootDSE –detailed, and then press ENTER.
Finding the Domain Controllers or Global Catalog Servers in a Site
This topic explains how to use the Active Directory module for Windows PowerShell to find the domain controllers or global catalog servers in a site.
Example
The following example demonstrates how to find the global catalog servers in a forest:
Get-ADDomainController -Filter {Site -eq 'Default-First-Site-Name'} | FT Name,IsGlobalCatalog
Get-ADDomainController -Filter {Site -eq 'Default-First-Site-Name'} | FT Name,IsGlobalCatalog
Additional information
For a full explanation of the parameters you can pass to Get-ADDomainController, at the Active Directory module command prompt, type Get-Help Get-ADDomainController –detailed, and then press ENTER.
Finding Domain Controllers and Global Catalogs with DNS
This topic explains how to use the Active Directory module for Windows PowerShell to find the domain controllers or global catalog servers by using Domain Name System (DNS).
Example
The following example demonstrates how to find the global catalog servers in a forest by using DNS:
Get-ADDomainController -Discover [-AvoidSelf] [-Writable] [-DomainName <String>] [-ForceDiscover] [-NextClosestSite] [-Service <ADDiscoverableService[]>] [-MinimumDirectoryServiceVersion <ADMinimumDirectoryServiceVersion>] [-SiteName <String>]
Get-ADDomainController -Discover [-AvoidSelf] [-Writable] [-DomainName <String>] [-ForceDiscover] [-NextClosestSite] [-Service <ADDiscoverableService[]>] [-MinimumDirectoryServiceVersion <ADMinimumDirectoryServiceVersion>] [-SiteName <String>]
Additional information
For a full explanation of the parameters that you can pass to Get-ADDomainController, at the Active Directory module command prompt, type Get-Help Get-ADDomainController –detailed, and then press ENTER.
No comments:
Post a Comment