Skip to content

Commit 12008ac

Browse files
authored
Added $queryCounter = 0
Added "$queryCounter = 0" at the beginning of the loop foreach($runOnInstance in $RunOnInstances)
1 parent af70f1c commit 12008ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Export-QueryToSQLTable.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ function Export-QueryToSQLTable
500500
foreach($runOnInstance in $RunOnInstances)
501501
{
502502
$instanceCounter++
503+
$queryCounter = 0
503504
$specificDatabases = @()
504505

505506
Write-Progress -Activity "Instances progress:" `

0 commit comments

Comments
 (0)