CmdID / PowerShell / Cmdlets / Remove
Remove-MigrationEndpoint
Use the Remove-MigrationEndpoint cmdlet to remove existing migration endpoints for source or destination servers for cutover or staged Exchange migrations, IMAP migrations and remote moves. Exchange PowerShell reference
From the Exchange PowerShell reference 5 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the name of the migration endpoint you want to remove.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-PartitionThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.