Hi,
Welcome to Microsoft Q&A community.
Here’s a step-by-step guide for decommissioning your Exchange 2016 and 2019 Edge servers. Unfortunately, I can’t provide screenshots directly, but I’ll describe the process in detail.
Decommissioning Exchange 2016 Edge Server (ExEdge01.contoso.com)
Verify No Active Mail Flow:
Ensure that no mail flow is being routed through the Edge server. Update your Send and Receive connectors to route mail through other servers.
Remove Edge Subscription:
Open the Exchange Management Shell (EMS) on the Edge server.
Run the following command to remove the Edge subscription:
Remove-EdgeSubscription -Identity "EdgeSubscriptionName"
Remove Send Connectors:
In the EMS, run the following command to remove any Send connectors associated with the Edge server:
Get-SendConnector | where {$_.SourceTransportServers -eq "ExEdge01.contoso.com"} | Remove-SendConnector
Remove Receive Connectors:
Similarly, remove any Receive connectors:
Get-ReceiveConnector -Server "ExEdge01.contoso.com" | Remove-ReceiveConnector
Uninstall Exchange 2016:
Go to Control Panel > Programs and Features.
Select Microsoft Exchange Server 2016 and click Uninstall.
Follow the prompts to complete the uninstallation.
Decommissioning Exchange 2019 Edge Server (ExEdge02.contoso.com)
Verify No Active Mail Flow:
Ensure that no mail flow is being routed through the Edge server. Update your Send and Receive connectors to route mail through other servers.
Remove Edge Subscription:
Open the Exchange Management Shell (EMS) on the Edge server.
Run the following command to remove the Edge subscription:
Remove-EdgeSubscription -Identity "EdgeSubscriptionName"
Remove Send Connectors:
In the EMS, run the following command to remove any Send connectors associated with the Edge server:
Get-SendConnector | where {$_.SourceTransportServers -eq "ExEdge02.contoso.com"} | Remove-SendConnector
Remove Receive Connectors:
Similarly, remove any Receive connectors:
Get-ReceiveConnector -Server "ExEdge02.contoso.com" | Remove-ReceiveConnector
Uninstall Exchange 2019:
Go to Control Panel > Programs and Features.
Select Microsoft Exchange Server 2019 and click Uninstall.
Follow the prompts to complete the uninstallation.
Additional Steps
Update DNS Records: Ensure that any DNS records pointing to the decommissioned Edge servers are updated or removed.
Monitor Mail Flow: After decommissioning, monitor your mail flow to ensure there are no disruptions.
Backup Configuration: Before starting the decommissioning process, ensure you have a backup of your current configuration.