How set static global catalog on MS Exchange Server 2010

Show current settings

Powershell:    get-ExchangeServer -identity <servername> -status | fl

Powershell:   get-ADServersettings | fl


you can find info in the Event log/app id = 2080


Set Static GC Server

Powershell: Set-ExchangeServer -Identity <servername> -StaticGlobalCatalogs <FQDN of DC GC >                            „If  you want to go back, change <FQDN of DC GC > to $Null  “


Show key in Registry

[PS] C:\Windows\system32>$key=get-itemProperty „HKLM:\system\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default\UserGC1“ | select -Property HostName | fl HostName

[PS] C:\Windows\system32>$key


For change , restart MS Exchange services or restart server