Double post
Microsoft.Data.SqlClient PowerShell
I would like to use the Microsoft.Data.SqlClient namespace/ objects in a PowerShell script. Two (click1, click2) GitHub posts provide a way to load the dll's, but does Microsoft provide any (official) PS module which could be imported? I don't want the hassle of copying dll's etc.
3 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
-
Pospisil, Jan 0 Reputation points
2024-09-06T08:34:48.5666667+00:00 Is there an official guide how to reference/use Microsoft.Data.SqlClient library in Powershell ? I want to use it to execute SQL commands with Azure Entra-ID authentication (I cannot use System.Data.SqlClient module). Any suggestion, examples ?