From b56a41f5ecf8a34a3e2f0ad5652467ee5d658de5 Mon Sep 17 00:00:00 2001 From: eeckert Date: Tue, 3 Oct 2023 13:31:08 -0600 Subject: [PATCH] update Regex for fodler detection. --- Get-ProjectFolders.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Get-ProjectFolders.ps1 b/Get-ProjectFolders.ps1 index 8f0fd54..e10a440 100644 --- a/Get-ProjectFolders.ps1 +++ b/Get-ProjectFolders.ps1 @@ -27,7 +27,7 @@ $PAth_To_Migration_Status = "M:\00 - Egnyte PS Data Inventory\Migration_status\M $PathToDB = "M:\IT\Egnyte\DuplicateFiles\WorkingRun\Dedupe.SQLite" $OutputFolder = "M:\IT\Egnyte\DuplicateFiles\WorkingRun\Output" $BaseDrive = 'X:\' -$ProjectRegex = '^X:\\[A-Z]{2}\W\d{2}\\\d{2}' +$ProjectRegex = '^X:\\[A-Z]{2}\W\d+' $OfficeList = Get-ChildItem -Path $BaseDrive -Directory -Depth 0 if ($Refresh) {