Add-CMUserCollectionIncludeMembershipRule
SYNOPSIS
Bir veya daha fazla kullanıcı koleksiyonuna bir Yapılandırma Yöneticisi kuralı ekler.
SYNTAX
ByNameAndName (Varsayılan)
Add-CMUserCollectionIncludeMembershipRule -CollectionName <String> -IncludeCollectionName <String> [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
ByNameAndValue
Add-CMUserCollectionIncludeMembershipRule -CollectionName <String> -IncludeCollection <IResultObject>
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameAndId
Add-CMUserCollectionIncludeMembershipRule -CollectionName <String> -IncludeCollectionId <String> [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
ByIdAndValue
Add-CMUserCollectionIncludeMembershipRule -CollectionId <String> -IncludeCollection <IResultObject> [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
ByIdAndId
Add-CMUserCollectionIncludeMembershipRule -CollectionId <String> -IncludeCollectionId <String> [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
ByIdAndName
Add-CMUserCollectionIncludeMembershipRule -CollectionId <String> -IncludeCollectionName <String> [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
ByValueAndValue
Add-CMUserCollectionIncludeMembershipRule -InputObject <IResultObject> -IncludeCollection <IResultObject>
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueAndId
Add-CMUserCollectionIncludeMembershipRule -InputObject <IResultObject> -IncludeCollectionId <String>
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueAndName
Add-CMUserCollectionIncludeMembershipRule -InputObject <IResultObject> -IncludeCollectionName <String>
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Add-CMUserCollectionIncludeMembershipRule cmdlet'i, kuralın uygulandığı kullanıcı koleksiyonlarında başka bir koleksiyonun üyelerini içeren bir kural ekler. Kuralın uygulandığı kullanıcı koleksiyonlarını, adlarını, kimliklerini kullanarak veya koleksiyonları temsil eden bir nesne belirterek belirtebilirsiniz. Üyeleri dahil edilen koleksiyonun adını, kimliğini veya koleksiyonu temsil eden bir nesneyi kullanarak belirtebilirsiniz.
Yapılandırma Yöneticisi, dahil edilen koleksiyonun üyeliği değişirse, kullanıcı koleksiyonunun üyeliğini bir zaman çizelgesinde dinamik olarak günceller. Bu kurallar hakkında daha fazla bilgi için bkz.Yapılandırma Yöneticisi.
Not
Yapılandırma Yöneticisi site sürücüsünden cmdlet'Yapılandırma Yöneticisi çalıştırın, örneğin PS XYZ:\>
. Daha fazla bilgi için başlarken bölümüne bakın.
EXAMPLES
Örnek 1: Kullanıcı koleksiyonuna üyelik kuralı ekleme
PS XYZ:\>Add-CMUserCollectionIncludeMembershipRule -CollectionId "9990000D" -IncludeCollectionId "SMSDM001"
Bu komut, 9990000D kimliğine sahip Yapılandırma Yöneticisi SMSDM001 kimliğine sahip bir dahil üyelik kuralı ekler.
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
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-IncludeCollection
Type: IResultObject
Parameter Sets: ByNameAndValue, ByIdAndValue, ByValueAndValue
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IncludeCollectionId
Type: String
Parameter Sets: ByNameAndId, ByIdAndId, ByValueAndId
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IncludeCollectionName
Type: String
Parameter Sets: ByNameAndName, ByIdAndName, ByValueAndName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
Bu cmdlet'in girişini belirtir. Bu parametreyi kullanabilir veya girişi bu cmdlet'e yöneltin.
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
-PassThru
Üzerinde çalışmakta olduğunu öğeyi temsil eden bir nesne dönmek için bu parametreyi ekleyin. Varsayılan olarak, bu cmdlet herhangi bir çıkış oluşturmaz.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalışmaz.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
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.