New-​CM​Detection​Clause​Registry​Key​Value

Creates a detection clause registry key value

Syntax

New-CMDetectionClauseRegistryKeyValue
   [-DisableWildcardHandling]
   [-Existence]
   [-ForceWildcardHandling]
   -Hive <RegistryRootKey>
   [-Is64Bit]
   -KeyName <String>
   -PropertyType <SettingDataType>
   -ValueName <String>
   [<CommonParameters>]
New-CMDetectionClauseRegistryKeyValue
   [-DisableWildcardHandling]
   -ExpectedValue <String[]>
   -ExpressionOperator <RuleExpressionOperator>
   [-ForceWildcardHandling]
   -Hive <RegistryRootKey>
   [-Is64Bit]
   -KeyName <String>
   -PropertyType <SettingDataType>
   [-Value]
   -ValueName <String>
   [<CommonParameters>]

Description

{{Fill in the Description}}

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Required Parameters

-Existence

{{Fill Existence Description}}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ExpectedValue

{{Fill ExpectedValue Description}}

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ExpressionOperator

{{Fill ExpressionOperator Description}}

Type:RuleExpressionOperator
Parameter Sets:IsEquals, NotEquals, GreaterThan, GreaterEquals, LessThan, LessEquals, Between, OneOf, NoneOf, BeginsWith, EndsWith, NotEndsWith, Contains, NotContains
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Hive

{{Fill Hive Description}}

Type:RegistryRootKey
Aliases:RegistryHive
Parameter Sets:ClassesRoot, CurrentConfig, CurrentUser, LocalMachine, Users
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-KeyName

{{Fill KeyName Description}}

Type:String
Aliases:RegistryKey
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PropertyType

{{Fill PropertyType Description}}

Type:SettingDataType
Parameter Sets:Version, Integer, String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Value

{{Fill Value Description}}

Type:SwitchParameter
Aliases:ValueRule
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ValueName

{{Fill ValueName Description}}

Type:String
Aliases:RegistryValueName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Is64Bit

{{Fill Is64Bit Description}}

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

Inputs

None

Outputs

System.Object