Skip to content

Commit

Permalink
Install-DbaFirstResponderKit - Use new script names (#9372)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjordan committed Jun 5, 2024
1 parent 088e5b1 commit 0d4a018
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions public/Install-DbaFirstResponderKit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,14 @@ function Install-DbaFirstResponderKit {
Installs only the procedures sp_Blitz and sp_BlitzWho and the table SqlServerVersions by running the corresponding scripts.
.EXAMPLE
PS C:\> Install-DbaFirstResponderKit -SqlInstance sql2016 -OnlyScript Install-Core-Blitz-No-Query-Store.sql
PS C:\> Install-DbaFirstResponderKit -SqlInstance sql2016 -OnlyScript Install-All-Scripts.sql
Installs only part of the First Responder Kit by running the official install script.
Installs the First Responder Kit using the official install script.
.EXAMPLE
PS C:\> Install-DbaFirstResponderKit -SqlInstance sql-server-001.database.windows.net -OnlyScript Install-Azure.sql
Installs the First Responder Kit using the official install script for Azure SQL Database.
.EXAMPLE
PS C:\> Install-DbaFirstResponderKit -SqlInstance sql2016 -OnlyScript Uninstall.sql
Expand All @@ -121,10 +126,10 @@ function Install-DbaFirstResponderKit {
[string]$Branch = "main",
[object]$Database = "master",
[string]$LocalFile,
[ValidateSet('Install-All-Scripts.sql', 'Install-Core-Blitz-No-Query-Store.sql', 'Install-Core-Blitz-With-Query-Store.sql',
'sp_Blitz.sql', 'sp_BlitzFirst.sql', 'sp_BlitzIndex.sql', 'sp_BlitzCache.sql', 'sp_BlitzWho.sql', 'sp_BlitzQueryStore.sql',
'sp_BlitzAnalysis.sql', 'sp_BlitzBackups.sql', 'sp_BlitzInMemoryOLTP.sql', 'sp_BlitzLock.sql',
'sp_AllNightLog.sql', 'sp_AllNightLog_Setup.sql', 'sp_DatabaseRestore.sql', 'sp_ineachdb.sql',
[ValidateSet('Install-All-Scripts.sql', 'Install-Azure.sql',
'sp_Blitz.sql', 'sp_BlitzFirst.sql', 'sp_BlitzIndex.sql', 'sp_BlitzCache.sql', 'sp_BlitzWho.sql',
'sp_BlitzAnalysis.sql', 'sp_BlitzBackups.sql', 'sp_BlitzLock.sql',
'sp_DatabaseRestore.sql', 'sp_ineachdb.sql',
'SqlServerVersions.sql', 'Uninstall.sql')]
[string[]]$OnlyScript,
[switch]$Force,
Expand Down

0 comments on commit 0d4a018

Please sign in to comment.