Set-CMCollectionMembershipEvaluationComponent

Set-CMCollectionMembershipEvaluationComponent

Sets how often Configuration Manager evaluates collections for membership.

Syntax

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

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




Detailed Description

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

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

-SiteSystemName<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 running the cmdlet.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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


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 (http://go.microsoft.com/fwlink/p/?LinkID=113216).

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 command 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"

Related topics

Community Additions

ADD
Show: