A command line tool which can use Windows domain username and password to connect MS SQL Server.
- use Java, support version 8+
- use MS SQL Server JDBC driver
- On the command line we can specify the parameters like MS SQL server address, host port, and username and password.
The file mssql-jdbc_auth-12.6.3.x64.dll may need to be specified by
-Djava.library.path="C:\path\to\sqljdbc_enu\auth\x64"
Connecting to SQL Server using NT Account name
Using NTLM Authentication to connect to SQL Server