update Regex for fodler detection.
This commit is contained in:
parent
dee9406e97
commit
b56a41f5ec
@ -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"
|
$PathToDB = "M:\IT\Egnyte\DuplicateFiles\WorkingRun\Dedupe.SQLite"
|
||||||
$OutputFolder = "M:\IT\Egnyte\DuplicateFiles\WorkingRun\Output"
|
$OutputFolder = "M:\IT\Egnyte\DuplicateFiles\WorkingRun\Output"
|
||||||
$BaseDrive = 'X:\'
|
$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
|
$OfficeList = Get-ChildItem -Path $BaseDrive -Directory -Depth 0
|
||||||
|
|
||||||
if ($Refresh) {
|
if ($Refresh) {
|
||||||
|
Loading…
Reference in New Issue
Block a user