Get-CMCollectionMembershipEvaluationComponent

Get-CMCollectionMembershipEvaluationComponent

Gets how often Configuration Manager evaluates collection membership.

Syntax

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

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

Detailed Description

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

Parameters

-SiteCode<String>

Specifies a site code for a Configuration Manager site.

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

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://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: 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 -SiteSystemServerName "CM01.West01.Contoso.com"

Set-CMCollectionMembershipEvaluationComponent