You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-Host'No CSV-File to assign vendor with MAC-Address found! Use the parameter "-UpdateList" to download the latest version from IEEE.org. This warning doesn`t affect the scanning procedure.'-ForegroundColor Yellow
Write-Host'No CSV-File to assign vendor with MAC-Address found! Use the parameter "-UpdateList" to download the latest version from IEEE.org. This warning doesn`t affect the scanning procedure.'-ForegroundColor Yellow
424
-
}
425
-
426
-
# Check if it is possible to assign vendor to MAC and import CSV-File
Write-Verbose"Waiting for jobs to complete & starting to process results..."
640
-
640
+
641
+
$Jobs_Total=$Jobs.Count
642
+
641
643
# Process results (that are finished), while waiting for other jobs
642
644
Do {
643
-
Write-Progress-Activity "Waiting for jobs to complete... ($($Threads-$($RunspacePool.GetAvailableRunspaces())) of $Threads threads running)"-Id 1-PercentComplete (($Jobs.count-$($($Jobs|Where-Object {$_.Result.IsCompleted-eq$false}).Count)) /$Jobs.Count*100) -Status "$(@($($Jobs|Where-Object {$_.Result.IsCompleted-eq$false})).Count) remaining..."
Write-Progress-Activity "Waiting for jobs to complete... ($($Threads-$($RunspacePool.GetAvailableRunspaces())) of $Threads threads running)"-Id 1-PercentComplete $Progress_Percent-Status "$(@($($Jobs|Where-Object {$_.Result.IsCompleted-eq$false})).Count) remaining..."
0 commit comments