CmdID / PowerShell / Cmdlets / Set
Set-ADServerSettings
Use the Set-ADServerSettings cmdlet to manage the Active Directory Domain Services (AD DS) environment in the current Exchange Management Shell session. Exchange PowerShell reference
From the Exchange PowerShell reference 9 parameters Its page in the reference
Parameters
-PreferredServerThe PreferredServer parameter specifies the FQDN of the domain controller to be used for this session.-RunspaceServerSettingsThe RunspaceServerSettings parameter specifies whether to pass an entire configuration object to the command to be processed.-ConfigurationDomainControllerThe ConfigurationDomainController parameter specifies the fully qualified domain name (FQDN) of the configuration domain controller to be used for reading Exchange configuration information in this s…-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-PreferredGlobalCatalogThe PreferredGlobalCatalog parameter specifies the FQDN of the global catalog server to be used for reading recipient information in this session.-RecipientViewRootThe RecipientViewRoot parameter specifies the organizational unit (OU) to include in the recipient scope for this session.-SetPreferredDomainControllersThe SetPreferredDomainControllers parameter specifies the list of domain controllers used to read information from Active Directory in this session.-ViewEntireForestThe ViewEntireForest parameter specifies whether all the objects in the forest are viewed and managed in this session.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.