PowerShell Scripts for SQL Server and Azure SQL Database

Free Scripts

PowerShell Scripts

  • Microsoft Windows: 2008, 7, Server 2008 R2, 8, Server 2012, 8.1, Server 2012 R2, 10, Server 2016, Server 2019; plus 11, Server 2022 (provisional); 64-bit, 32-bit; no support for Microsoft Windows Server’s Server Core Role
  • Microsoft Windows PowerShell: 3.0, 4.0, 5.0, 7.0, .NET Core

Database Platforms

  • Microsoft SQL Server: 2008, 2012, 2014, 2016, 2017, 2019; plus 2022 (provisional); Windows, Linux; Express, Standard, Enterprise editions

Databases in the Cloud

  • Microsoft Azure SQL Database