Get-CMCollectionMembershipEvaluationComponent

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Get-CMCollectionMembershipEvaluationComponent

Gets how often Configuration Manager evaluates collection membership.

Syntax

Parameter Set: SearchByNameMandatory
Get-CMCollectionMembershipEvaluationComponent -SiteSystemName <String[]> [ <CommonParameters>]

Parameter Set: SearchBySiteCodeMandatory
Get-CMCollectionMembershipEvaluationComponent -SiteCode <String[]> [-SiteSystemName <String[]> ] [ <CommonParameters>]

Detailed Description

The Get-CMCollectionMembershipEvaluationComponent cmdlet gets the value for 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 value to get by site server name or site code.

Parameters

-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

<CommonParameters>

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

Examples

Example 1: Get an evaluation period for a site code

This command gets the evaluation frequency for collection membership for the specified site code.

PS C:\> Get-CMCollectionMembershipEvaluationComponent -SiteCode "CM4"

Example 2: Get an evaluation period for a system

This command gets the evaluation frequency for the server named CM01.West01.Contoso.com.

PS C:\> Get-CMCollectionMembershipEvaluationComponent -SiteSystemName "CM01.West01.Contoso.com"

Set-CMCollectionMembershipEvaluationComponent