Skip to content

Collection Evaluation Time #85

Description

@paulwetter

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions