@@ -5,7 +5,7 @@ $BlitzFirstPath = "$FilePath\sp_BlitzFirst.sql"
55
66# All Core Blitz Without sp_BlitzQueryStore
77Get-ChildItem - Path " $FilePath " - Filter " sp_Blitz*.sql" |
8- Where-Object { $_.FullName -notlike " *sp_BlitzQueryStore.sql*" -and $_.FullName -notlike " *sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike " *sp_BlitzFirst*" -and $_ .FullName -notlike " *sp_BlitzAnalysis* " } |
8+ Where-Object { $_.FullName -notlike " *sp_BlitzQueryStore.sql*" -and $_.FullName -notlike " *sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike " *sp_BlitzFirst*" } |
99ForEach-Object { Get-Content $_.FullName } |
1010Set-Content - Path " $FilePath \Install-Core-Blitz-No-Query-Store.sql" - Force
1111# append script to (re-)create SqlServerVersions Table (https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/2429)
@@ -17,7 +17,7 @@ if ( test-path "$BlitzFirstPath")
1717
1818# All Core Blitz With sp_BlitzQueryStore
1919Get-ChildItem - Path " $FilePath " - Filter " sp_Blitz*.sql" |
20- Where-Object { $_.FullName -notlike " *sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike " *sp_BlitzFirst*" -and $_ .FullName -notlike " *sp_BlitzAnalysis* " } |
20+ Where-Object { $_.FullName -notlike " *sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike " *sp_BlitzFirst*" } |
2121ForEach-Object { Get-Content $_.FullName } |
2222Set-Content - Path " $FilePath \Install-Core-Blitz-With-Query-Store.sql" - Force
2323# append script to (re-)create SqlServerVersions Table (https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/2429)
@@ -29,7 +29,7 @@ if ( test-path "$BlitzFirstPath")
2929
3030# All Scripts
3131Get-ChildItem - Path " $FilePath " - Filter " sp_*.sql" |
32- Where-Object { $_.FullName -notlike " *sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike " *sp_BlitzFirst*" -and $_ .FullName -notlike " *sp_BlitzAnalysis* " } |
32+ Where-Object { $_.FullName -notlike " *sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike " *sp_BlitzFirst*" } |
3333ForEach-Object { Get-Content $_.FullName } |
3434Set-Content - Path " $FilePath \Install-All-Scripts.sql" - Force
3535# append script to (re-)create SqlServerVersions Table (https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/2429)
0 commit comments