It’s documented well, I know. This is just for my quick reference.
To create a new edge subscription, type the following on edge –
1 |
New-EdgeSubscription -FileName C:\EdgeSubscriptionInfo.xml -Force |
Copy the file to a Mailbox servers (just one is fine, the rest will sync from this). Then –
1 |
New-EdgeSubscription -FileData ([byte[]]$(Get-Content -Path "C:\EdgeSubscriptionInfo.xml" -Encoding Byte -ReadCount 0)) -Site "Site-Name" |
Change the file paths & site etc. as required. To remove edge subscriptions, either on Edge or on Mailbox –
1 |
Get-EdgeSubscription | Remove-EdgeSubscription |
To set the FQDN on the outgoing (send) connector in response to EHLO do this on the Mailbox server –
1 |
Set-SendConnector -Identity "EdgeSync - Site-Name to Internet" -Fqdn "edge.raxnet.global" |
If you want to change the incoming (receive) connector name run this on the Edge server –
1 |
Set-ReceiveConnector -Identity "Server\Default internal receive connector Server" -Banner "220 edge.raxnet.global at your service" -Fqdn "edge.raxnet.global" |
You can find the certificates on the Edge server via Get-ExchangeCertificate. To use one of them as the certificate for the SMTP service do –
1 |
Enable-ExchangeCertificate -Thumbprint XXXXXXX -Services SMTP |
That’s about it I think.