Nearly everything has changed for SQL Server PowerShell

2016 was the best year in SQL PowerShell history! I guess I should have mentioned that here sooner. Wired® Magazine recently said that Microsoft SQL Server was the surprise hit of the year. The primary cited reason is the SQL Server port to Linux, but there are several other reasons to be really excited about…


Where[-Object] clauses for people who use SQL Server

Summary: Learn about the power of the Where[-Object] cmdlet in PowerShell. Can I do a WHERE clause with an IN, in PowerShell?  Yes! Today’s post is from Aaron Nelson ( blog | twitter ), who is a Microsoft MVP for SQL Server (Data Platform), leads the PowerShell Virtual Chapters of PASS, volunteers for the local PASS Chapter…


Use PowerShell to Script SQL Database Objects

  Summary: Learn how to use Windows PowerShell to automate creation of SQL Database objects such as tables, stored procedures, and functions.   Hey, Scripting Guy! How can I use Windows PowerShell to script out SQL Server database objects? — AA   Hello AA, Microsoft Scripting Guy Ed Wilson here. Today we have one final…

11

Use PowerShell to Change SQL Server Service Accounts

  Summary: Learn how to use Windows PowerShell to change SQL Server service accounts.   Hey, Scripting Guy! How can I use PowerShell to change SQL Server service accounts? — NM   Hello NM, Microsoft Scripting Guy Ed Wilson here. This week I am hosting guest bloggers from the SQL side of life. This is…

3

Use PowerShell to obtain SQL Server database sizes

   Summary: Learn how to use Windows PowerShell to obtain SQL Server database information.   Hey, Scripting Guy! Is there an easy way to obtain database size information by using Windows PowerShell? — NA   Hello NA, Microsoft Scripting Guy Ed Wilson here. As I mentioned yesterday, this week we are hosting guest bloggers from…

3