CmdID

CmdID / PowerShell / Cmdlets / Test

Test-SmtpConnectivity

Use the Test-SmtpConnectivity cmdlet to diagnose whether an SMTP connection can successfully be established to the Receive connectors on a specific server. Exchange PowerShell reference

From the Exchange PowerShell reference 5 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

5 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the transport server for which the cmdlet verifies SMTP connectivity .
-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.
-MonitoringContextThe MonitoringContext parameter specifies whether to include the associated monitoring events and performance counters in the results.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.