From c0cbf7c67c285829fc03bed6ebb93c52eb8284aa Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:16:18 -0500 Subject: [PATCH] Update Merge-All.ps1 --- Install-All/Merge-All.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install-All/Merge-All.ps1 b/Install-All/Merge-All.ps1 index 07c421c..cfaa649 100644 --- a/Install-All/Merge-All.ps1 +++ b/Install-All/Merge-All.ps1 @@ -1,6 +1,6 @@ -Get-ChildItem -Path "C:\Users\edarl\OneDrive\Documents\GitHub\DarlingData" -Filter "sp_*" | +Get-ChildItem -Path ".." -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 UTF8 } | -Set-Content -Path "$FilePath\Install-All\DarlingData.sql" -Encoding UTF8 -Force +Set-Content -Path ".\DarlingData.sql" -Encoding UTF8 -Force