CmdID / PowerShell / Cmdlets / Set
Set-ADSite
Use the Set-ADSite cmdlet to configure the Exchange settings of Active Directory sites. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the identity of the Active Directory site you want to modify.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-HubSiteEnabledThe HubSiteEnabled parameter specifies whether this site acts as a hub site.-InboundMailEnabledThe InboundMailEnabled parameter enables or disables receiving incoming messages for all Exchange servers located in the Active Directory site.-PartnerIdThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.