This commit is contained in:
Erik Eckert 2023-09-15 10:49:03 -06:00
parent d24bf9e82b
commit ab692c9632

View File

@ -171,7 +171,7 @@ Invoke-SqliteQuery -DataSource $PathToDB -InputFile $SQLFile_to_Run
$DBConnect = New-SqliteConnection -DataSource $PathToDB
foreach ($office in $OfficeList) {
$OfficeServer = $office.Substring(1, 4) -replace (':|\\', '')
$OfficeServer = $office.Name
$Query = "select * from OfficeDuplicates where Server = '$OfficeServer';"
$sql_result = Invoke-SqliteQuery -DataSource $PathToDB -Query $Query