Set-CMCollectionMembershipEvaluationComponent

Applies To: System Center 2012 Configuration Manager SP1

Set-CMCollectionMembershipEvaluationComponent

Sets how often Configuration Manager evaluates collections for membership.

Syntax

Parameter Set: SearchByNameMandatory
Set-CMCollectionMembershipEvaluationComponent -MinutesInterval <Int32> -SiteSystemServerName <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchBySiteCodeMandatory
Set-CMCollectionMembershipEvaluationComponent -MinutesInterval <Int32> -SiteCode <String> [-SiteSystemServerName <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Set-CMCollectionMembershipEvaluationComponent cmdlet changes how often Microsoft System Center 2012 Configuration Manager evaluates collections. System Center 2012 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.

Parameters

-MinutesInterval<Int32>

Specifies an evaluation interval, in minutes. Configuration Manager checks the members of a collection to verify that the members still belong in that collection.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String[]>

Specifies an array of names for Configuration Manager servers.

Aliases

Name

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Set an evaluation period for a site code

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

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

Example 2: Set an evaluation period for a system

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

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

Get-CMCollectionMembershipEvaluationComponent