description: Creates a detection clause mac bundle. external help file: AdminUI.PS.dll-Help.xml Module Name: ConfigurationManager ms.date: 05/05/2019 schema: 2.0.0 title: New-CMDetectionClauseMacBundle
Creates a detection clause mac bundle.
New-CMDetectionClauseMacBundle -BundleId <String> -ExpressionOperator <MacRuleExpressionOperator>
-PropertyType <SettingDataType> -ExpectedValue <String> [-Value] [-DisableWildcardHandling]
[-ForceWildcardHandling] [<CommonParameters>]
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
PS XYZ:\>
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: MacRuleExpressionOperator
Parameter Sets: (All)
Aliases:
Accepted values: IsEquals, GreaterThan, LessThan, GreaterEquals, LessEquals
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: SettingDataType
Parameter Sets: (All)
Aliases:
Accepted values: Version, String
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.