Tidied up some little bugs
This commit is contained in:
parent
ca45404af1
commit
c7c4be8a6f
|
|
@ -15,13 +15,13 @@
|
|||
"DisplayName": "Office 16 Click-to-Run Localization Component"
|
||||
},
|
||||
{
|
||||
"DisplayName": "Realtek Audio COM Components (driver)"
|
||||
"DisplayName": "Realtek Audio COM Components"
|
||||
},
|
||||
{
|
||||
"DisplayName": "Realtek High Definition Audio Driver"
|
||||
},
|
||||
{
|
||||
"DisplayName": "Vulkan Run Time Libraries (default)"
|
||||
"DisplayName": "Vulkan Run Time Libraries"
|
||||
},
|
||||
{
|
||||
"DisplayName": "Microsoft Teams Meeting Add-in for Microsoft Office"
|
||||
|
|
@ -34,5 +34,11 @@
|
|||
},
|
||||
{
|
||||
"DisplayName": "Teams Machine-Wide Installer"
|
||||
},
|
||||
{
|
||||
"DisplayName": "Google Legacy Browser Support"
|
||||
},
|
||||
{
|
||||
"DisplayName": "Maxx Audio Installer"
|
||||
}
|
||||
]
|
||||
Binary file not shown.
|
|
@ -356,7 +356,7 @@ function Get-PCBatchInvoke {
|
|||
}
|
||||
}
|
||||
BatchInvokesProgressBar -stage 4
|
||||
$output += $jobs | Receive-Job -Wait -AutoRemoveJob | Select-Object * -ExcludeProperty RunspaceId, PSComputerName, PSShowComputerName
|
||||
$output += $jobs | Receive-Job -Wait -AutoRemoveJob | Select-Object * -ExcludeProperty RunspaceId, PSComputerName, PSShowComputerName, PSSourceJobInstanceId
|
||||
$itemIndex = 0
|
||||
$contactedhosts = $output.Hostname
|
||||
BatchInvokesProgressBar -stage 5
|
||||
|
|
@ -366,7 +366,7 @@ function Get-PCBatchInvoke {
|
|||
$jobs += Start-Job -ScriptBlock ${function:SCCMQueryBlock} -ArgumentList $computer
|
||||
}
|
||||
}
|
||||
$output += $jobs | Receive-Job -Wait -AutoRemoveJob | Select-Object * -ExcludeProperty RunspaceId, PSComputerName, PSShowComputerName
|
||||
$output += $jobs | Receive-Job -Wait -AutoRemoveJob | Select-Object * -ExcludeProperty RunspaceId, PSComputerName, PSShowComputerName, PSSourceJobInstanceId
|
||||
|
||||
return $output
|
||||
|
||||
|
|
@ -408,9 +408,9 @@ function BatchInvokesProgressBar {
|
|||
switch ($stage) {
|
||||
1 { Write-Progress -Activity "Connecting to computers" -Status "$item ($currentItemIndex/$TotalItems)" -PercentComplete (($currentItemIndex/$TotalItems) * 100)}
|
||||
2 { Write-Progress -Activity "Spinning up jobs" -PercentComplete ((20/100) * 100)}
|
||||
4 { Write-Progress -Activity "Querying SCCM for offline computers" -PercentComplete ((30/100) * 100)}
|
||||
3 { Write-Progress -Activity "Awaiting Jobs" -PercentComplete ((60/100)*100)}
|
||||
4 { Write-Progress -Activity "Querying SCCM for missed computers" -PercentComplete ((75/100) * 100)}
|
||||
3 { Write-Progress -Activity "Querying SCCM for offline computers" -PercentComplete ((30/100) * 100)}
|
||||
4 { Write-Progress -Activity "Awaiting Jobs" -PercentComplete ((60/100)*100)}
|
||||
5 { Write-Progress -Activity "Querying SCCM for missed computers" -PercentComplete ((75/100) * 100)}
|
||||
Default {}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue