6.4 Verifying Edge Subscriptions
The easiest way to verify the subscription status of Edge Transport servers is to run the Test-EdgeSynchronization
cmdlet. This cmdlet provides a report of the synchronization status,
and you also can use it to verify that a specific recipient has been
synchronized to the Active Directory Lightweight Directory Service on
an Edge Transport server.
Example 6
provides the syntax and usage for the Test-EdgeSynchronization cmdlet.
By default, the cmdlet verifies configuration objects and recipient
objects. To have the cmdlet verify only configuration data,
set-ExcludeRecipientTest to $true. Use the –VerifyRecipient parameter
to specify the e-mail address of a recipient to verify.
Example 6. Test-EdgeSynchronization cmdlet syntax and usage
Syntax
Test-EdgeSynchronization [-ExcludeRecipientTest <$true | $false>]
[-DomainController DCName
] [-FullCompareMode <$true | $false>]
[-MaxReportSize <MaxNumberofObjectsToCheck
| Unlimited>]
[-MonitoringContext <$true | $false>] [-TargetServer EdgeServer
]
Test-EdgeSynchronization -VerifyRecipient RecipientEmailAddress
[-DomainController DCName
]
Usage
Test-EdgeSynchronization -ExcludeRecipientTest
Test-EdgeSynchronization -MaxReportSize 500
Test-EdgeSynchronization -VerifyRecipient "[email protected]"
Test-EdgeSynchronization -TargetServer CorpServer73.cpandl.com
Example and sample output
test-edgesynchronization
RunspaceId : 9654f021-e26d-4428-83ba-50cb75c645fe
UtcNow : 12/12/2009 9:12:31 PM
Name : CORPSERVER73
LeaseHolder : CN=MAILSERVER25,CN=Servers,CN=Exchange
Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,
CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,
DC=cpandl,DC=com
LeaseType : Option
ConnectionResult : Succeeded
FailureDetail :
LeaseExpiryUtc : 12/12/2009 10:11:50 PM
LastSynchronizedUtc : 12/12/2009 9:11:50 PM
CredentialStatus : Synchronized
TransportServerStatus : Synchronized
TransportConfigStatus : Synchronized
AcceptedDomainStatus : Synchronized
RemoteDomainStatus : Synchronized
SendConnectorStatus : Synchronized
MessageClassificationStatus : Synchronized
RecipientStatus : Synchronized
CredentialRecords : Number of credentials 62
CookieRecords : Number of cookies 25
6.5 Removing Edge Subscriptions
If you replace or decommission an Edge Transport server, you no
longer need the related Edge subscription and can remove it. Removing
an Edge subscription
-
Stops synchronization of information from the Active Directory Domain Service to AD LDS.
-
Removes all the accounts that are stored in AD LDS.
-
Removes the Edge Transport server from the source server list of any Send connector.
You can remove an Edge subscription by completing the following steps:
-
Log on to a Hub Transport server using an account with Exchange administrator privileges.
-
In the Exchange Management Console, expand the Organization Configuration node, and then select the Hub Transport node.
-
In the details pane, on the Edge Subscriptions tab, right-click the
subscription that you no longer need, and then select Remove.
-
When prompted to confirm, click Yes.
In the Exchange Management Shell, you can remove an Edge
Subscription by passing the identity of the subscription to remove to
the Remove-EdgeSubscription cmdlet. Example 7 provides the syntax and usage.
Example 7. Remove-EdgeSubscription cmdlet syntax and usage
Syntax
Remove-EdgeSubscription -Identity EdgeTransportServerName
[-DomainController DCName
] [-Force <$true | $false>]
Usage
Remove-EdgeSubscription -Identity "EdgeSvr04"