Set-CMTSStepInstallUpdate

Sets a t s step install update

Syntax

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

Examples

Example 1

PS C:\>

Required Parameters

-InputObject
Type:IResultObject
Aliases:TaskSequence
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-SetConditionFile
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionFolder
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionIfStatement
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionOperatingSystem
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionQueryWmi
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionRegistry
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionSoftware
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SetConditionVariable
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TaskSequenceId
Type:String
Aliases:Id, TaskSequencePackageId
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TaskSequenceName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AddCondition
Type:IResultObject[]
Aliases:AddConditions
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ClearCondition
Type:SwitchParameter
Aliases:ClearConditions
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Condition
Type:IResultObject[]
Aliases:SubCondition, SubConditions
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ConditionVariableName
Type:String
Aliases:Variable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ConditionVariableValue
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
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
Type:VariableOperatorType
Parameter Sets:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FilePath
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileTimestamp
Type:DateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileVersion
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FolderDateTimeOperator
Type:VariableOperatorType
Parameter Sets:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FolderPath
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FolderTimestamp
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
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IsContinueOnError
Type:Boolean
Aliases:IsThisStepContinueOnError
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IsEnabled
Type:Boolean
Aliases:IsThisStepEnabled
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MsiFilePath
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Namespace
Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NewStepName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OperatorType
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
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RegistryKey
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RegistryOperator
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
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RegistryValueName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionFile
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionFolder
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionIfStatement
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionOperatingSystem
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionQueryWmi
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionRegistry
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionSoftware
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveConditionVariable
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RetryCount
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RootKey
Type:RegistryRootKeyType
Parameter Sets:HKeyCurrentUser, HKeyLocalMachine, HKeyUsers, HKeyCurrentConfig
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StatementType
Type:ConditionStatementType
Aliases:Operator
Parameter Sets:All, Any, None
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StepName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SupportedPlatform
Type:IResultObject[]
Aliases:SupportedPlatforms
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Target
Type:TargetType
Aliases:InstallUpdateBasedOnTypeOfDeployment
Parameter Sets:All, Mandatory
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UseCache
Type:Boolean
Aliases:EnableEvaluateFromCache
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ValueType
Type:RegistryValueType
Parameter Sets:RegistrySZ, RegistryExpandSZ, RegistryDWord
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VersionOperator
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