Q. Can I access databases from within PowerShell?

Absolutely. I wrote a quick blog tutorial on this exact topic: "Database Access within PowerShell". It shows you how to use both SQL Server and non-SQL Server databases.

Don Jones

September 1, 2010

1 Min Read
blue cylinders on white setting with black lines connecting

Q. Can I access databases from within PowerShell?

A. Absolutely. I wrote a quick blog tutorial on this exact topic: "Database Access within PowerShell". It shows you how to use both SQL Server and non-SQL Server databases. You'll basically be using elements of the .NET Framework rather than normal PowerShell cmdlets.

Do you have a Windows PowerShell question? Find more PowerShell FAQs, articles, and other resources at windowsitpro.com/go/DonJonesPowerShell.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like