Get-CMCollectionMembershipEvaluationComponent

Get the site component that evaluates collection membership.

Syntax

Get-CMCollectionMembershipEvaluationComponent
   [-SiteCode <String>]
   [-SiteSystemServerName <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

Use this cmdlet to get the site component that evaluates collection membership. This component controls how often collection membership is incrementally evaluated. Incremental evaluation updates a collection membership with only new or changed resources.

For more information, see Site components for Configuration Manager.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Get an evaluation period for the site

This example first gets the XYZ site component for collection membership evaluation and stores the object in the $component variable. The next command looks at the Props property on the component object ($component), looks for the embedded property for the Incremental Interval, and displays the Value. By default, this value is 5 minutes.

$component = Get-CMCollectionMembershipEvaluationComponent -SiteCode "XYZ"

$component.Props | Where-Object { $_.PropertyName -eq "Incremental Interval" } | Select-Object Value

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-SiteCode

Specify the three-character site code to query for this component.

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

-SiteSystemServerName

This parameter is deprecated, don't use it.

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

Inputs

None

Outputs

IResultObject[]

IResultObject

Notes

For more information on this return object and its properties, see SMS_SCI_Component server WMI class.