These numbers are now exposed in WMI and the Console.
Code to get the incrementals:
$Incrementals = Get-WmiObject -Class SMS_CollectionEvaluationIncremental -Namespace ROOT\SMS\site_$SiteCode
$totalTime = 0
foreach ($Collection in $Incrementals) {
If ($Collection.Length -lt 4294000000){ #if a incremental is currently running
$totalTime += $Collection.Length
}
}
Write-Host "Incremental total time: $totalTime"
These numbers are now exposed in WMI and the Console.
Code to get the incrementals: