Get-CMCollectionMembershipRule
语法
Get-CMCollectionMembershipRule
-ChildSearchCriteria <SmsProviderSearch>
-CollectionName <String>
[-CollectionType <CollectionType>]
[-ExtraArguments <Object>]
-RuleClassName <String>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Get-CMCollectionMembershipRule
-ChildSearchCriteria <SmsProviderSearch>
-CollectionId <String>
[-CollectionType <CollectionType>]
[-ExtraArguments <Object>]
-RuleClassName <String>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Get-CMCollectionMembershipRule
-ChildSearchCriteria <SmsProviderSearch>
[-CollectionType <CollectionType>]
[-ExtraArguments <Object>]
-InputObject <IResultObject>
-RuleClassName <String>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
说明
其他 cmdlet 使用此 cmdlet 来获取成员身份规则。 请勿直接使用此 cmdlet。 使用以下 cmdlet 之一:
参数
-ChildSearchCriteria
| 类型: | SmsProviderSearch |
| 别名: | SearchCriteria |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-CollectionId
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-CollectionName
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-CollectionType
| 类型: | CollectionType |
| 接受的值: | User, Device |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-DisableWildcardHandling
DisableWildcardHandling 将通配符视为文本字符值。 不能与 ForceWildcardHandling 结合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
| 类型: | Object |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-ForceWildcardHandling
ForceWildcardHandling 处理通配符,并可能导致意外行为, (不建议) 。 不能与 DisableWildcardHandling 结合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
| 类型: | IResultObject |
| 别名: | Collection |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | True |
| 接受通配符: | False |
-RuleClassName
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
System.Object
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
输出
System.Object