SQL Server Toolbox by the Sparkhound SQL Team
SQL Server Toolbox
A loose assembly of files use for day-to-day administration, performance tuning, troubleshooting and investigation of Microsoft SQL Server databases.
Many scripts have alternative versions for backwards compatibility with SQL Servers prior to SQL Server 2012, most scripts developed for SQL Server 2012 or higher, many with comments indicating features added in specific versions of SQL Server.
Execution intended with SSMS/VSCode without SQLCMD mode enabled for most scripts, unless otherwise noted.
PowerShell should be supported for PowerShell 3+ unless otherwise noted.
Suggestions/corrections welcome. Collaboration limited to Sparkhound SQL DBA team.