Set-ADServerSettings

1st Microsoft Example

Set-AdServerSettings [-ConfigurationDomainController <Fqdn>] 
[-Confirm [<SwitchParameter>]] 
[-PreferredGlobalCatalog <Fqdn>] 
[-RecipientViewRoot <String>] 
[-SetPreferredDomainControllers <MultiValuedProperty>] 
[-ViewEntireForest <$true | $false>] 
[-WhatIf [<SwitchParameter>]] 
[-WriteOriginatingChangeTimestamp <$true | $false>] 
[-WriteShadowProperties <$true | $false>] 
[<CommonParameters>]

2nd Microsoft Example

Set-AdServerSettings -PreferredServer <Fqdn> 
[-Confirm [<SwitchParameter>]] 
[-RecipientViewRoot <String>] 
[-ViewEntireForest <$true | $false>] 
[-WhatIf [<SwitchParameter>]] 
[-WriteOriginatingChangeTimestamp <$true | $false>] 
[-WriteShadowProperties <$true | $false>] 
[<CommonParameters>]

3rd Microsoft Example

Set-AdServerSettings -RunspaceServerSettings <RunspaceServerSettingsPresentationObject> 
[-Confirm [<SwitchParameter>]] 
[-WhatIf [<SwitchParameter>]] 
[-WriteOriginatingChangeTimestamp <$true | $false>] 
[-WriteShadowProperties <$true | $false>] 
[<CommonParameters>]