There is a hardcoded timeout of 1 in Get-SQLConnectionObject specified in line 184:
# Set authentcation type - current windows user
if(-not $Username){
# Set authentication type
$AuthenticationType = "Current Windows Credentials"
# Set connection string
$Connection.ConnectionString = "Server=$DacConn$Instance;Database=$Database;Integrated Security=SSPI;Connection Timeout=1$AppNameString$EncryptString$TrustCertString$WorkstationString"
}
Clearly connection string should state the following:
Hi!
There is a hardcoded timeout of
1
inGet-SQLConnectionObject
specified in line 184:Clearly connection string should state the following:
Kind regards, M.