Determine the name of the Active Directory IP site link for which you want to set an Exchange cost. A lower cost value indicates a more preferred route. You can examine the contents of the routing table logs and view the data in the ADTopologyPath ID section to view details about the calculated least cost routing path between two Active Directory sites.
To set an Exchange-specific cost on an Active Directory site link, run the following command:
Set-AdSiteLink <ADSiteLinkIdentity> -ExchangeCost <Integer | $null>
This example sets an Exchange-specific cost of 10 on the IP site link named IPSiteLinkAB.
Set-AdSiteLink IPSiteLinkAB -ExchangeCost 10
This example clears the Exchange cost from the IP site link named IPSiteLinkAB.
Set-AdSiteLink IPSiteLinkAB -ExchangeCost $null
To verify that you have successfully set an Exchange cost on an Active Directory site link, do the following:
Run the following command:
Get-AdSiteLink | Format-List Name,ExchangeCost
Verify the Exchange cost is configured on the Active Directory site link.
Identificación del artículo: SLN289403
Última fecha de modificación: 02/18/2014 12:00 AM