Skip to content

Latest commit

 

History

History
145 lines (100 loc) · 4.04 KB

Get-CMCollectionIncrementalEvaluationStatus.md

File metadata and controls

145 lines (100 loc) · 4.04 KB

external help file: AdminUI.PS.psm1-help.xml Module Name: ConfigurationManager ms.date: 12/21/2020 online version: schema: 2.0.0

Get-CMCollectionIncrementalEvaluationStatus

SYNOPSIS

Get the incremental evaluation status for a collection.

SYNTAX

ByName (Default)

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

ById

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

ByValue

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
Parameter Sets: ById
Aliases: CollectionId

Required: True
Position: Named
Default value: None
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
Parameter Sets: ByValue
Aliases: Collection

Required: True
Position: Named
Default value: None
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
Parameter Sets: (All)
Aliases:

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

-Name

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

Type: String
Parameter Sets: ByName
Aliases: CollectionName

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Get-CMCollectionEvaluationStatus

Get-CMCollectionFullEvaluationStatus

Get-CMCollectionInfoFromEvaluationQueue

Get-CMCollectionInfoFromFullEvaluationQueue

Get-CMCollectionInfoFromIncrementalEvaluationQueue

Get-CMCollectionInfoFromManualEvaluationQueue

Get-CMCollectionInfoFromNewEvaluationQueue

How to view collection evaluation

Collection evaluation in Configuration Manager