Skip to content

Commit

Permalink
Merge pull request #318 from erikdarlingdata/dev
Browse files Browse the repository at this point in the history
Add full script install
  • Loading branch information
erikdarlingdata authored Nov 20, 2023
2 parents 6ae202a + 42d3583 commit a7ad1b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file added Install-All/DarlingData.sql
Binary file not shown.
7 changes: 7 additions & 0 deletions Install-All/Merge All.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$FilePath = "C:\Users\edarl\OneDrive\Documents\GitHub\DarlingData"
Get-ChildItem -Path "$FilePath" -Filter "sp_*" |
Where-Object { $_.FullName -notlike "*sp_WhoIsActive*" } |
ForEach-Object { Get-ChildItem $_.FullName |
Where-Object { $_.Name -like "sp_*" -and $_.Name -notlike "sp_Human Events Agent*" } } |
ForEach-Object { Get-Content $_.FullName -Encoding Unicode } |
Set-Content -Path "$FilePath\Install-All\DarlingData.sql" -Encoding Unicode -Force

0 comments on commit a7ad1b3

Please sign in to comment.