Question

I've been studying PowerShell and I've been (slowly) getting it into my day-to-day DBA tasks.

So far I've seen a bunch of disconnected PowerShell scripts for many disparate administration activities.

What I'd like to know is if there is an official (or recognizable) PowerShell scripts collection or repository that people usually go to for SQL Server PowerShell scripts for common DBA activities (something like Ola Hallengren's T-SQL scripts).

Was it helpful?

Solution

I don't know that anyone has written something along the lines of Ola's script within PowerShell. I know that PowerShell scripts for SQL Server are slowly growing over at the TechnNet Script Center. Then MSSQLTips.com also has started publishing tips working with SQL Server and PowerShell.

Then you also have SQL Server PowerShell Extenstions project over on CodePlex. I don't guess you would consider it a repository but a good number of folks blog on how to use it and such. Some task within SQL Server are made much easier using SQLPSX.

I also tend to check out a few MVP blog sites that tend to focus on PowerShell scripts:
Allen White
Aaron Nelson
Sean McCown (MidnightDBA) (Click on the PowerShell tab for all the videos on the subject)

OTHER TIPS

There are a bunch of scripts on codeplex for database administration; I believe @sqlvariant has had a hand in writing them

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top