CmdID / PowerShell / Cmdlets / Validate
Validate-OutboundConnector
Use the Validate-OutboundConnector cmdlet to test the settings of Outbound connectors in Microsoft 365. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the Outbound connector that you want to test.-RecipientsThe Recipients parameter specifies one or more email addresses to send a test message to.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.