Skip to content

Commit 21bdfab

Browse files
Merge branch 'BrentOzarULTD:dev' into dev
2 parents 6b2c933 + 6578594 commit 21bdfab

20 files changed

Lines changed: 3875 additions & 3087 deletions

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ We know that's a pain, but that's the kind of thing we find out in the wild. Of
5656

5757
Rather than give you step-by-step instructions here, we'd rather link you to the work of others:
5858

59-
* [How to fork a GitHub repository and contribute to an open source project](https://sqldbawithabeard.com/2019/11/29/how-to-fork-a-github-repository-and-contribute-to-an-open-source-project/)
59+
* [How to fork a GitHub repository and contribute to an open source project](https://blog.robsewell.com/blog/how-to-fork-a-github-repository-and-contribute-to-an-open-source-project/)
6060

6161

6262

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
#Set your file path
2-
$FilePath = "C:\temp\SQL-Server-First-Responder-Kit"
3-
$SqlVersionsPath = "$FilePath\SqlServerVersions.sql"
4-
$BlitzFirstPath = "$FilePath\sp_BlitzFirst.sql"
2+
$FilePath = "/Users/brentozar/LocalOnly/Github/SQL-Server-First-Responder-Kit"
3+
$SqlVersionsPath = "$FilePath/SqlServerVersions.sql"
4+
$BlitzFirstPath = "$FilePath/sp_BlitzFirst.sql"
55

66
#All Core Blitz Without sp_BlitzQueryStore
77
Get-ChildItem -Path "$FilePath" -Filter "sp_Blitz*.sql" |
88
Where-Object { $_.FullName -notlike "*sp_BlitzQueryStore.sql*" -and $_.FullName -notlike "*sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike "*sp_BlitzFirst*"} |
99
ForEach-Object { Get-Content $_.FullName } |
10-
Set-Content -Path "$FilePath\Install-Core-Blitz-No-Query-Store.sql" -Force
10+
Set-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)
1212
if ( test-path "$SqlVersionsPath")
13-
{ Add-Content -Path "$FilePath\Install-Core-Blitz-No-Query-Store.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
13+
{ Add-Content -Path "$FilePath/Install-Core-Blitz-No-Query-Store.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
1414
if ( test-path "$BlitzFirstPath")
15-
{ Add-Content -Path "$FilePath\Install-Core-Blitz-No-Query-Store.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
15+
{ Add-Content -Path "$FilePath/Install-Core-Blitz-No-Query-Store.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
1616

1717

1818
#All Core Blitz With sp_BlitzQueryStore
1919
Get-ChildItem -Path "$FilePath" -Filter "sp_Blitz*.sql" |
2020
Where-Object { $_.FullName -notlike "*sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike "*sp_BlitzFirst*"} |
2121
ForEach-Object { Get-Content $_.FullName } |
22-
Set-Content -Path "$FilePath\Install-Core-Blitz-With-Query-Store.sql" -Force
22+
Set-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)
2424
if ( test-path "$SqlVersionsPath")
25-
{ Add-Content -Path "$FilePath\Install-Core-Blitz-With-Query-Store.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
25+
{ Add-Content -Path "$FilePath/Install-Core-Blitz-With-Query-Store.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
2626
if ( test-path "$BlitzFirstPath")
27-
{ Add-Content -Path "$FilePath\Install-Core-Blitz-With-Query-Store.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
27+
{ Add-Content -Path "$FilePath/Install-Core-Blitz-With-Query-Store.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
2828

2929

3030
#All Scripts
3131
Get-ChildItem -Path "$FilePath" -Filter "sp_*.sql" |
3232
Where-Object { $_.FullName -notlike "*sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike "*sp_BlitzFirst*"} |
3333
ForEach-Object { Get-Content $_.FullName } |
34-
Set-Content -Path "$FilePath\Install-All-Scripts.sql" -Force
34+
Set-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)
3636
if ( test-path "$SqlVersionsPath")
37-
{ Add-Content -Path "$FilePath\Install-All-Scripts.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
37+
{ Add-Content -Path "$FilePath/Install-All-Scripts.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
3838
if ( test-path "$BlitzFirstPath")
39-
{ Add-Content -Path "$FilePath\Install-All-Scripts.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
39+
{ Add-Content -Path "$FilePath/Install-All-Scripts.sql" -Value (Get-Content -Path "$BlitzFirstPath")}

0 commit comments

Comments
 (0)