My PS 5.1 script tests a connection with a SQL Server. The script does it step by step:
1 Ping the server with the Test-Connection
2 Probe if the port is open with the System.Net.TcpClient.Connect()
3 Now, here i would like to know, without sending credential, if it is indeed a SQL Server behind the port. Is it possible?