Get-CMCollectionIncrementalEvaluationStatus

Get the incremental evaluation status for a collection.

Syntax

Get-CMCollectionIncrementalEvaluationStatus
   [-Name <String>]
   [-IsMemberChanged <Boolean>]
   [<CommonParameters>]
Get-CMCollectionIncrementalEvaluationStatus
   -Id <String>
   [-IsMemberChanged <Boolean>]
   [<CommonParameters>]
Get-CMCollectionIncrementalEvaluationStatus
   -InputObject <IResultObject>
   [-IsMemberChanged <Boolean>]
   [<CommonParameters>]

Description

Get the incremental evaluation status for a collection. For more information, see How to view collection evaluation.

Tip

The collection evaluation process happens on primary sites, not on the central administration site (CAS). Use this cmdlet when connected to a primary site.

Examples

Example 1: Show status for collections with long incremental evaluation

This example first uses Get-CMCollectionIncrementalEvaluationStatus to get the status of incremental evaluation for all collections. It then uses the Where-Object cmdlet to filter the results to the collections where the incremental evaluation time was greater than five seconds (5000 milliseconds).

Get-CMCollectionIncrementalEvaluationStatus | Where-Object Length -gt 5000

Parameters

-Id

Specify the ID of a collection to query. For example, "SMS00002".

Type:String
Aliases:CollectionId
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specify a collection object to query. To get this object, use the Get-CMCollection cmdlet. This parameter currently only accepts a single collection object.

Type:IResultObject
Aliases:Collection
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-IsMemberChanged

Set this parameter to $true to filter the results to collections whose membership recently changed. In other words, where the MemberChanges attribute isn't 0.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specify the name of a collection to query. For example, "All Users".

Type:String
Aliases:CollectionName
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object