Trying to connect to SQL without using NTLM. The instance services are using a gMSA account.
`
$instance = “SERVER.DOMAIN.LOCALINSTANCE”
$database = “DATABASE”
$connectionString = “Server = $instance; Database = $database; Integrated Security = $TRUE;”
$connection = New-Object System.Data.SqlClient.SqlConnection
$connection.ConnectionString = $connectionString
$connection.Open()
`
I don’t know how to use any other method other than integrated security.
User ID and password doesn’t seem to work, I think that’s for SQL logins, which are disabled.