Set-​CM​TS​Step​Install​Update

Sets a t s step install update

Syntax

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

Description

{{Fill in the Description}}

Examples

Example 1

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

{{ Add example description here }}

Required Parameters

-InputObject

{{Fill InputObject Description}}

Type:IResultObject
Aliases:TaskSequence
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-SetConditionFile

{{Fill SetConditionFile Description}}

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

{{Fill SetConditionFolder Description}}

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

{{Fill SetConditionIfStatement Description}}

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

{{Fill SetConditionOperatingSystem Description}}

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

{{Fill SetConditionQueryWmi Description}}

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

{{Fill SetConditionRegistry Description}}

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

{{Fill SetConditionSoftware Description}}

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

{{Fill SetConditionVariable Description}}

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

{{Fill TaskSequenceId Description}}

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

{{Fill TaskSequenceName Description}}

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

Optional Parameters

-AddCondition

{{Fill AddCondition Description}}

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

{{Fill ClearCondition Description}}

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

{{Fill Condition Description}}

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

{{Fill ConditionVariableName Description}}

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

{{Fill ConditionVariableValue Description}}

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

{{Fill Description 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

{{Fill FileDateTimeOperator Description}}

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

{{Fill FilePath Description}}

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

{{Fill FileTimestamp Description}}

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

{{Fill FileVersion Description}}

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

{{Fill FolderDateTimeOperator Description}}

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

{{Fill FolderPath Description}}

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

{{Fill FolderTimestamp Description}}

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
-IsAnyVersion

{{Fill IsAnyVersion Description}}

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

{{Fill IsContinueOnError Description}}

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

{{Fill IsEnabled Description}}

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

{{Fill MsiFilePath Description}}

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

{{Fill Namespace Description}}

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

{{Fill NewStepName Description}}

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

{{Fill OperatorType Description}}

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

{{Fill Query Description}}

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

{{Fill RegistryKey Description}}

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

{{Fill RegistryOperator Description}}

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

{{Fill RegistryValueData Description}}

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

{{Fill RegistryValueName Description}}

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

{{Fill RemoveConditionFile Description}}

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

{{Fill RemoveConditionFolder Description}}

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

{{Fill RemoveConditionIfStatement Description}}

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

{{Fill RemoveConditionOperatingSystem Description}}

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

{{Fill RemoveConditionQueryWmi Description}}

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

{{Fill RemoveConditionRegistry Description}}

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

{{Fill RemoveConditionSoftware Description}}

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

{{Fill RemoveConditionVariable Description}}

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

{{Fill RetryCount Description}}

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

{{Fill RootKey Description}}

Type:RegistryRootKeyType
Parameter Sets:HKeyCurrentUser, HKeyLocalMachine, HKeyUsers, HKeyCurrentConfig
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StatementType

{{Fill StatementType Description}}

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

{{Fill StepName Description}}

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

{{Fill SupportedPlatform Description}}

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

{{Fill Target Description}}

Type:TargetType
Aliases:InstallUpdateBasedOnTypeOfDeployment
Parameter Sets:All, Mandatory
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UseCache

{{Fill UseCache Description}}

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

{{Fill ValueType Description}}

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

{{Fill VersionOperator Description}}

Type:VariableOperatorType
Parameter Sets: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