microsoft / SQLServerPSModule

This repo is the home of SQL Server PowerShell Module development.
MIT License
45 stars 1 forks source link

Consider adding a new parameter -ServerCertificate where applicable #74

Open Matteo-T opened 5 months ago

Matteo-T commented 5 months ago

This is a new parameter supported by Microsoft.Data.SqlClient 5.1+

See https://learn.microsoft.com/dotnet/api/microsoft.data.sqlclient.sqlconnectionstringbuilder.servercertificate?view=sqlclient-dotnet-standard-5.1

So, it may make sense to look into adding it (at least to Invoke-Sqlcmd).