PowerShell | Test-NetConnection

# Sets the location and port to scan and reports back detailed network information.  Can be used to see if a port is live and what IP address it is answering on. 

Test-NetConnection imap.gmail.com -Port 993 -InformationLevel "Detailed"
Test-NetConnection
smtp.gmail.com -Port 465 -InformationLevel "Detailed"

Test-netConnection.PNG