Want to know if your Windows Application server can reach it's SQL? Or if the application can reach the cloud app?
You have probably used the PowerShell command "Test-NetConnection", or TNC for short. It's perfect to see if a server or client can reach a remote TCP port. With a SAM template we can use that to test if another Windows server can reach that required TCP port.
Download the attached SAM template and import it.
Assign credentials for the "from-server", use local execution mode, add script arguments with "to-servers" IP or hostname and port to check. Assign the template to the "from server".
Result looks something like this: