Aracılığıyla paylaş


Get-CMDeviceCollectionExcludeMembershipRule

SYNOPSIS

Configuration Manager hiyerarşisindeki bir veya daha fazla cihaz koleksiyonundan Üyelik kuralları hariç tutma kurallarını alır.

SYNTAX

Byna, DNAME (varsayılan)

Get-CMDeviceCollectionExcludeMembershipRule -CollectionName <String> [-ExcludeCollectionName <String>]
 [<CommonParameters>]

Byna, Dvalue

Get-CMDeviceCollectionExcludeMembershipRule -CollectionName <String> -ExcludeCollection <IResultObject>
 [<CommonParameters>]

Byna,

Get-CMDeviceCollectionExcludeMembershipRule -CollectionName <String> -ExcludeCollectionId <String>
 [<CommonParameters>]

Byıdandvalue

Get-CMDeviceCollectionExcludeMembershipRule -CollectionId <String> -ExcludeCollection <IResultObject>
 [<CommonParameters>]

Byıdandıd

Get-CMDeviceCollectionExcludeMembershipRule -CollectionId <String> -ExcludeCollectionId <String>
 [<CommonParameters>]

Byıdandname

Get-CMDeviceCollectionExcludeMembershipRule -CollectionId <String> [-ExcludeCollectionName <String>]
 [<CommonParameters>]

ByValueAndValue

Get-CMDeviceCollectionExcludeMembershipRule -InputObject <IResultObject> -ExcludeCollection <IResultObject>
 [<CommonParameters>]

Byvalueandıd

Get-CMDeviceCollectionExcludeMembershipRule -InputObject <IResultObject> -ExcludeCollectionId <String>
 [<CommonParameters>]

ByValueAndName

Get-CMDeviceCollectionExcludeMembershipRule -InputObject <IResultObject> [-ExcludeCollectionName <String>]
 [<CommonParameters>]

DESCRIPTION

Get-CMDeviceCollectionExcludeMembershipRule cmdlet 'i, başka bir koleksiyonun üyelerini kuralın uygulandığı cihaz koleksiyonlarından hariç tutacak kuralları alır. Kuralın ad, KIMLIK veya koleksiyonları temsil eden bir nesne tarafından uygulandığı cihaz koleksiyonlarını belirtebilirsiniz. Üyeleri ad, KIMLIK veya koleksiyonu temsil eden bir nesne tarafından dışlanan koleksiyonu belirtebilirsiniz.

Configuration Manager, hariç tutulan koleksiyonun üyeliği değişirse cihaz koleksiyonunun üyeliğini bir zamanlamaya göre dinamik olarak güncelleştirir. Üyelik kuralları hakkında daha fazla bilgi için bkz. Configuration Manager koleksiyonlara giriş.

Not

Örneğin, Configuration Manager site sürücüsünden Configuration Manager cmdlet 'lerini çalıştırın PS XYZ:\> . Daha fazla bilgi için başlarken bölümüne bakın.

EXAMPLES

Örnek 1: üyelik kurallarını bir cihaz koleksiyonundan al

PS XYZ:\> Get-CMDeviceCollectionExcludeMembershipRule -CollectionId "9990000D" -ExcludeCollectionId "SMSDM001"

Bu komut, kimliği 9990000D olan cihaz koleksiyonundan SMSDM001 KIMLIĞINE sahip koleksiyonun üyelerini hariç tutma kurallarını alır.

PARAMETERS

-CollectionId

Type: String
Parameter Sets: ByIdAndValue, ByIdAndId, ByIdAndName
Aliases: Id

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CollectionName

Type: String
Parameter Sets: ByNameAndName, ByNameAndValue, ByNameAndId
Aliases: Name

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExcludeCollection

Type: IResultObject
Parameter Sets: ByNameAndValue, ByIdAndValue, ByValueAndValue
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Excludecollectionıd

Type: String
Parameter Sets: ByNameAndId, ByIdAndId, ByValueAndId
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExcludeCollectionName

Type: String
Parameter Sets: ByNameAndName, ByIdAndName, ByValueAndName
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Bu cmdlet 'e yönelik girişi belirtir. Bu parametreyi kullanabilir veya girişi bu cmdlet 'e kanal oluşturarak aktarabilirsiniz.

Type: IResultObject
Parameter Sets: ByValueAndValue, ByValueAndId, ByValueAndName
Aliases: Collection

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

Bu cmdlet şu genel parametreleri destekler: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction ve -WarningVariable. Daha fazla bilgi için bkz. about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement. ManagementProvider. ıresultobject

OUTPUTS

System.Object

NOTLAR

Configuration Manager içindeki koleksiyonlara giriş

Add-CMDeviceCollectionExcludeMembershipRule

Remove-CMDeviceCollectionExcludeMembershipRule