Sunday, November 21, 2010

Powershell commands pt 4

[PS] C:\>get-adsite

Name HubSiteEnabled
---- --------------
Default-First-Site-Name False


[PS] C:\>New-EdgeSubscription -FileName c:\edgesubexport.xml -site "default-first-site-name"

Name Site Domain
---- ---- ------
EdgeServer tailspintoys.inte... tailspintoys.exte...
WARNING: EdgeSync requires that the Hub Transport servers in Active Directory
site default-first-site-name must be able to resolve the IP address for
EdgeServer.tailspintoys.external, and be able to connect to that host on ports
50636.


[PS] C:\>Get-SendConnector

Identity AddressSpaces Enabled
-------- ------------- -------
EdgeSync - Default-First-Site-Name to Internet {smtp:*;100} True
EdgeSync - Inbound to Default-First-Site-Name {smtp:--;100} True


[PS] C:\>Start-EdgeSynchronization


Result : Success
Type : Configuration
Name : CN=EdgeServer,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,C
N=tailspintoys,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=tailspintoys,DC=internal
FailureDetails :
StartUTC : 5/28/2010 4:23:48 AM
EndUTC : 5/28/2010 4:23:49 AM
Added : 7
Deleted : 1
Updated : 0
Scanned : 345
TargetScanned : 339

Result : Success
Type : Recipients
Name : CN=EdgeServer,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,C
N=tailspintoys,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=tailspintoys,DC=internal
FailureDetails :
StartUTC : 5/28/2010 4:23:48 AM
EndUTC : 5/28/2010 4:23:49 AM
Added : 33
Deleted : 0
Updated : 0
Scanned : 33
TargetScanned : 0



[PS] C:\>Test-EdgeSynchronization


Name : EdgeServer
LeaseHolder : GLASGOW
LeaseType : Option
ConnectionResult : Succeeded
FailureDetail :
LeaseExpiry : 5/27/2010 10:23:49 PM
LastSynchronized : 5/27/2010 9:23:49 PM
CredentialStatus : Synchronized
TransportServerStatus : Synchronized
TransportConfigStatus : Synchronized
AcceptedDomainStatus : Synchronized
SendConnectorStatus : Synchronized
MessageClassificationStatus : Synchronized
RecipientStatus : Synchronized
CredentialRecords : Number of credentials 3

[PS] C:\>Test-EdgeSynchronization -verify "text@tailspintoys.internal"


Name : EdgeServer
LeaseHolder : GLASGOW
LeaseType : Option
ConnectionResult : Succeeded
FailureDetail :
LeaseExpiry : 5/27/2010 10:23:49 PM
LastSynchronized : 5/27/2010 9:23:49 PM
CredentialStatus : Skipped
TransportServerStatus : Skipped
TransportConfigStatus : Skipped
AcceptedDomainStatus : Skipped
SendConnectorStatus : Skipped
MessageClassificationStatus : Skipped
RecipientStatus : Synchronized
CredentialRecords : Number of credentials 3

No comments:

Post a Comment