Set-CMCollectionMembershipEvaluationComponent

Sets how often Configuration Manager evaluates collections for membership.

Syntax

Set-CMCollectionMembershipEvaluationComponent
   [-SiteSystemServerName <String>]
   [-SiteCode <String>]
   -EvaluationMins <Int32>
   [-PassThru]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMCollectionMembershipEvaluationComponent cmdlet changes how often Microsoft System Center Configuration Manager evaluates collections. Configuration Manager queries the database at a regular interval to check for changes in collection membership. You can specify which site to change by site server name or site code.

Examples

Example 1: Set an evaluation period for a site code

PS C:\> Set-CMCollectionMembershipEvaluationComponent -MinutesInterval 5 -SiteCode "CM4"

This command sets the evaluation frequency to five minutes for the specified site code.

Example 2: Set an evaluation period for a system

PS C:\> Set-CMCollectionMembershipEvaluationComponent -MinutesInterval 6 -SiteSystemName "CM01.West01.Contoso.com"

This command sets the evaluation frequency to six minutes for the server named CM01.West01.Contoso.com.

Required Parameters

-EvaluationMins
Type:Int32
Aliases:MinutesInterval
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

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

Returns the current working object. By default, this cmdlet does not generate any output.

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

Specifies an array of a site codes for Configuration Manager sites.

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

Note: This parameter is deprecated starting with version 1610, and may be removed in a future release.

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

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False