Set-CMTSStepSetDynamicVariable

Sets properties, options, specific conditions for a task sequence Set Dynamic Variable step in Configuration Manager.

Syntax

Set-CMTSStepSetDynamicVariable
   [-AddRule <IResultObject[]>]
   [-CleanRule]
   -InputObject <IResultObject>
   [-StepName <String>]
   [-NewStepName <String>]
   [-Description <String>]
   [-IsContinueOnError <Boolean>]
   [-IsEnabled <Boolean>]
   [-AddCondition <IResultObject[]>]
   [-ClearCondition]
   [-StepOrder <ReorderType>]
   [-MoveToIndex <Int32>]
   [-RemoveConditionIfStatement]
   [-RemoveConditionQueryWmi]
   [-RemoveConditionVariable]
   [-RemoveConditionOperatingSystem]
   [-RemoveConditionFile]
   [-RemoveConditionFolder]
   [-RemoveConditionRegistry]
   [-RemoveConditionSoftware]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   [-AddRule <IResultObject[]>]
   [-CleanRule]
   -TaskSequenceId <String>
   [-StepName <String>]
   [-NewStepName <String>]
   [-Description <String>]
   [-IsContinueOnError <Boolean>]
   [-IsEnabled <Boolean>]
   [-AddCondition <IResultObject[]>]
   [-ClearCondition]
   [-StepOrder <ReorderType>]
   [-MoveToIndex <Int32>]
   [-RemoveConditionIfStatement]
   [-RemoveConditionQueryWmi]
   [-RemoveConditionVariable]
   [-RemoveConditionOperatingSystem]
   [-RemoveConditionFile]
   [-RemoveConditionFolder]
   [-RemoveConditionRegistry]
   [-RemoveConditionSoftware]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   [-AddRule <IResultObject[]>]
   [-CleanRule]
   -TaskSequenceName <String>
   [-StepName <String>]
   [-NewStepName <String>]
   [-Description <String>]
   [-IsContinueOnError <Boolean>]
   [-IsEnabled <Boolean>]
   [-AddCondition <IResultObject[]>]
   [-ClearCondition]
   [-StepOrder <ReorderType>]
   [-MoveToIndex <Int32>]
   [-RemoveConditionIfStatement]
   [-RemoveConditionQueryWmi]
   [-RemoveConditionVariable]
   [-RemoveConditionOperatingSystem]
   [-RemoveConditionFile]
   [-RemoveConditionFolder]
   [-RemoveConditionRegistry]
   [-RemoveConditionSoftware]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionIfStatement]
   [-StatementType <ConditionStatementType>]
   [-Condition <IResultObject[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionQueryWmi]
   [-Namespace <String[]>]
   [-Query <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionVariable]
   [-OperatorType <VariableOperatorType>]
   [-ConditionVariableName <String>]
   [-ConditionVariableValue <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionOperatingSystem]
   [-SupportedPlatform <IResultObject[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionFile]
   [-FilePath <String>]
   [-FileVersion <String>]
   [-FileTimestamp <DateTime>]
   [-FileDateTimeOperator <VariableOperatorType>]
   [-VersionOperator <VariableOperatorType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionFolder]
   [-FolderPath <String>]
   [-FolderTimestamp <DateTime>]
   [-FolderDateTimeOperator <VariableOperatorType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionRegistry]
   [-RootKey <RegistryRootKeyType>]
   [-RegistryKey <String>]
   [-RegistryOperator <VariableOperatorType>]
   [-RegistryValueName <String>]
   [-ValueType <RegistryValueType>]
   [-RegistryValueData <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceId <String>
   [-StepName <String>]
   [-SetConditionSoftware]
   [-MsiFilePath <String>]
   [-IsAnyVersion <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionIfStatement]
   [-StatementType <ConditionStatementType>]
   [-Condition <IResultObject[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionQueryWmi]
   [-Namespace <String[]>]
   [-Query <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionVariable]
   [-OperatorType <VariableOperatorType>]
   [-ConditionVariableName <String>]
   [-ConditionVariableValue <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionOperatingSystem]
   [-SupportedPlatform <IResultObject[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionFile]
   [-FilePath <String>]
   [-FileVersion <String>]
   [-FileTimestamp <DateTime>]
   [-FileDateTimeOperator <VariableOperatorType>]
   [-VersionOperator <VariableOperatorType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionFolder]
   [-FolderPath <String>]
   [-FolderTimestamp <DateTime>]
   [-FolderDateTimeOperator <VariableOperatorType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionRegistry]
   [-RootKey <RegistryRootKeyType>]
   [-RegistryKey <String>]
   [-RegistryOperator <VariableOperatorType>]
   [-RegistryValueName <String>]
   [-ValueType <RegistryValueType>]
   [-RegistryValueData <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -TaskSequenceName <String>
   [-StepName <String>]
   [-SetConditionSoftware]
   [-MsiFilePath <String>]
   [-IsAnyVersion <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionIfStatement]
   [-StatementType <ConditionStatementType>]
   [-Condition <IResultObject[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionQueryWmi]
   [-Namespace <String[]>]
   [-Query <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionVariable]
   [-OperatorType <VariableOperatorType>]
   [-ConditionVariableName <String>]
   [-ConditionVariableValue <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionOperatingSystem]
   [-SupportedPlatform <IResultObject[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionFile]
   [-FilePath <String>]
   [-FileVersion <String>]
   [-FileTimestamp <DateTime>]
   [-FileDateTimeOperator <VariableOperatorType>]
   [-VersionOperator <VariableOperatorType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionFolder]
   [-FolderPath <String>]
   [-FolderTimestamp <DateTime>]
   [-FolderDateTimeOperator <VariableOperatorType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionRegistry]
   [-RootKey <RegistryRootKeyType>]
   [-RegistryKey <String>]
   [-RegistryOperator <VariableOperatorType>]
   [-RegistryValueName <String>]
   [-ValueType <RegistryValueType>]
   [-RegistryValueData <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMTSStepSetDynamicVariable
   -InputObject <IResultObject>
   [-StepName <String>]
   [-SetConditionSoftware]
   [-MsiFilePath <String>]
   [-IsAnyVersion <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMTSStepSetDynamicVariable cmdlet sets properties, options, specific conditions for "Set Dynamic Variable" steps in a task sequence. The cmdlet supports pipeline from a task sequence object, and could be filtered by the name of the step.

Note

Configuration Manager cmdlets must be run from the Configuration Manager site drive. The examples in this article use the site name XYZ. For more information, see the getting started documentation.

Examples

Example 1

PS XYZ:\> $ReferencedTaskSequence | Set-CMTaskSequenceStepSetDynamicVariable -ClearCondition -AddCondition $cd1 -CleanRule -AddRule ($rule5,$rule6)

Parameters

-AddCondition

Specifies the conditions. The types of the conditions include: task sequence variable, operating system version, operating system language, file properties, folder properties, registry setting, query WMI, and installed software.

Type:IResultObject[]
Aliases:AddConditions
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AddRule

Specifies the rules and the order of the rules.

Type:IResultObject[]
Aliases:AddRules
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CleanRule

Indicates removing all the existing rules. This parameter must be used in conjunction with the AddRule parameter.

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

Indicates removing all the existing conditions.

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

Specifies the conditions. This parameter is used with one of the following parameters: SetConditionIfStatement, SetConditionQueryWmi, SetConditionVariable, SetConditionOperatingSystem, SetConditionFile, SetConditionFolder, SetConditionRegistry, and SetConditionSoftware.

Type:IResultObject[]
Aliases:SubCondition, SubConditions
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ConditionVariableName

Specifies a condition variable name.

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

Specifies condition variable value.

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

Prompts you for confirmation before running the cmdlet.

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

Specifies a description.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-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
-FileDateTimeOperator

Specifies a file date time operator.

Type:VariableOperatorType
Accepted values:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FilePath

Specifies a file path.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileTimestamp

Specifies a file time stamp.

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileVersion

Specifies a file version.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FolderDateTimeOperator

Specifies a folder date time operator.

Type:VariableOperatorType
Accepted values:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FolderPath

Specifies a folder path.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FolderTimestamp

Specifies a folder time stamp.

Type:DateTime
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
-InputObject

Specifies a task sequence object.

Type:IResultObject
Aliases:TaskSequence
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-IsAnyVersion

Indicates whether you want to match any version of the product (upgrade code only). This is parameter is used for the Software condition.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IsContinueOnError

Indicates the command continues when there is an exception.

Type:Boolean
Aliases:IsThisStepContinueOnError
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IsEnabled

Indicates whether this step can be ran.

Type:Boolean
Aliases:IsThisStepEnabled
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MoveToIndex

Specifies the order of this step. The order index is 0 based. This parameter must be used in conjunction with the StepOrder parameter.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MsiFilePath

Specifies an MSI file path.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Namespace

Specifies a WMI namespace. This parameter is used for the Query WMI condition.

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

Specifies a new step name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OperatorType

Specifies an operator type.

Type:VariableOperatorType
Accepted values:Exists, NotExists, Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual, Like
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Query

Specifies a query.

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

Specifies a registry key.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RegistryOperator

Specifies a registry operator.

Type:VariableOperatorType
Accepted values:Exists, NotExists, Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RegistryValueData

Specifies registry value data.

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

Specifies registry value name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionFile

Indicates removing the conditions of the File Properties type.

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

Indicates removing the conditions of the Folder Properties type.

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

Indicates removing the conditions of the If Statement type.

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

Indicates removing the conditions of the Operating System type.

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

Indicates removing the conditions of the Query WMI type.

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

Indicates removing the conditions of the Registry Setting type.

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

Indicates removing the conditions of the Installed Software type.

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

Indicates removing the conditions of the Task Sequence Variable type.

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

Specifies a root key of a Registry Setting type condition.

Type:RegistryRootKeyType
Accepted values:HKeyCurrentUser, HKeyLocalMachine, HKeyUsers, HKeyCurrentConfig
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionFile

Indicate setting all the conditions of the File Properties type.

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

Indicate setting all the conditions of the Folder Properties type.

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

Indicate setting all the conditions of the If Statement type.

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

Indicate setting all the conditions of the Operating System type.

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

Indicate setting all the conditions of the Query WMI type.

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

Indicate setting all the conditions of the Registry Setting type.

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

Indicate setting all the conditions of the Installed Software type.

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

Indicate setting all the conditions of the Task Sequence Variable type.

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

Specifies a statement type.

Type:ConditionStatementType
Aliases:Operator
Accepted values:All, Any, None
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StepName

Specifies a step name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StepOrder

Specifies the order of a step. If MoveToIndex is specified, you must also specify the MoveToIndex parameter.

Type:ReorderType
Accepted values:MoveUp, MoveDown, MoveToIndex
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SupportedPlatform

Specifies supported platforms.

Type:IResultObject[]
Aliases:SupportedPlatforms
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TaskSequenceId

Specifies a task sequence ID.

Type:String
Aliases:Id, TaskSequencePackageId
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TaskSequenceName

Specifies a task sequence name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ValueType

Specifies a value type.

Type:RegistryValueType
Accepted values:RegistrySZ, RegistryExpandSZ, RegistryDWord
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VersionOperator

Specifies a version operator.

Type:VariableOperatorType
Accepted values:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object