The lower the site link cost, the faster the link. Higher costs are slower or more expensive.
Because the site link should map closely to the physical network, the costs should also reflect the speed
Chapter 11: Exchange Server 2007 Routing
315
or expense. If for some reason the site link costs do not create optimal mail routing, it is possible to set an
Exchange cost on the site link. This cost will not affect Active Directory replication or site coverage calculations.
To see the current configuration of a site link, use the Get-ADSiteLink cmdlet. The syntax for
Get-ADSiteLink is:
Get-ADSiteLink [-Identity < AdSiteLinkIdParameter > ] [-DomainController < Fqdn > ]
Figure 11 - 7 shows the sample output from the Get-ADSiteLink cmdlet:
Get-ADSiteLink | fl
Figure 11-7
Notice the ExchangeCost is null by default. To set the ExchangeCost parameter ??™ s value, use the
Set-ADSiteLink cmdlet. Its syntax is:
Set-AdSiteLink -Identity < AdSiteLinkIdParameter > [-Confirm
[ < SwitchParameter > ]] [-DomainController < Fqdn > ] [-ExchangeCost < Nullable > ]
[-MaxMessageSize < Unlimited > ] [-Name < String > ] [-WhatIf
[ < SwitchParameter > ]]
Set-AdSiteLink [-Confirm [ < SwitchParameter > ]] [-DomainController < Fqdn > ]
[-ExchangeCost < Nullable > ] [-Instance < ADSiteLink > ] [-MaxMessageSize
< Unlimited > ] [-Name < String > ] [-WhatIf [ < SwitchParameter > ]]
Part III: Working with PowerShell in a Production Environment
316
To remove any existing values, set the ExchangeCost parameter to $null .
Pages:
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454