How can I set -TrustServerCertificate as a default for Invoke-SQLCmd?
I'm looking for a way to make the "-TrustServerCertificate" parameter the default behavior when using the Invoke-SQLCmd cmdlet in PowerShell. I don't want to have to type it…
I'm looking for a way to make the "-TrustServerCertificate" parameter the default behavior when using the Invoke-SQLCmd cmdlet in PowerShell. I don't want to have to type it…