bugfix
This commit is contained in:
parent
d24bf9e82b
commit
ab692c9632
@ -171,7 +171,7 @@ Invoke-SqliteQuery -DataSource $PathToDB -InputFile $SQLFile_to_Run
|
|||||||
$DBConnect = New-SqliteConnection -DataSource $PathToDB
|
$DBConnect = New-SqliteConnection -DataSource $PathToDB
|
||||||
|
|
||||||
foreach ($office in $OfficeList) {
|
foreach ($office in $OfficeList) {
|
||||||
$OfficeServer = $office.Substring(1, 4) -replace (':|\\', '')
|
$OfficeServer = $office.Name
|
||||||
|
|
||||||
$Query = "select * from OfficeDuplicates where Server = '$OfficeServer';"
|
$Query = "select * from OfficeDuplicates where Server = '$OfficeServer';"
|
||||||
$sql_result = Invoke-SqliteQuery -DataSource $PathToDB -Query $Query
|
$sql_result = Invoke-SqliteQuery -DataSource $PathToDB -Query $Query
|
||||||
|
Loading…
Reference in New Issue
Block a user