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) {