Tuesday, August 13, 2013

Controll Exchange 2010 mail delivery using cost and hub site

Set-ADSiteLink, this command would be very useful in cases where one wants to favor one site  for queuing  over another. The lower the cost more likely site will be used. Keep in mind that direct delivery is always attempted first and only if it fails site cost is used to queue messages in a different hub server in different site.

Set-ADSiteLink -Identity fromtositelink -ExchangeCost 5

Set-AdSite is a command that is used to enable particular hub in site to force all email to pass through it.

ENABLE:
Set-AdSite -Identity 'sitename' -HubSiteEnabled $true

DISABLE:
Set-AdSite -Identity 'sitename' -HubSiteEnabled $false

No comments:

Post a Comment