Set-CMTSStepRunTaskSequence
SYNOPSIS
Pomocí této rutiny můžete upravit pořadí úkolů Spustit krok pořadí úloh.
SYNTAX
ByValue (výchozí)
Set-CMTSStepRunTaskSequence [-RunTaskSequence <IResultObject>] [-AddCondition <IResultObject[]>]
[-ClearCondition] [-Description <String>] -InputObject <IResultObject> [-IsContinueOnError <Boolean>]
[-IsEnabled <Boolean>] [-MoveToIndex <Int32>] [-NewStepName <String>] [-RemoveConditionFile]
[-RemoveConditionFolder] [-RemoveConditionIfStatement] [-RemoveConditionOperatingSystem]
[-RemoveConditionQueryWmi] [-RemoveConditionRegistry] [-RemoveConditionSoftware] [-RemoveConditionVariable]
[-StepName <String>] [-StepOrder <ReorderType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ById
Set-CMTSStepRunTaskSequence [-RunTaskSequence <IResultObject>] [-AddCondition <IResultObject[]>]
[-ClearCondition] [-Description <String>] [-IsContinueOnError <Boolean>] [-IsEnabled <Boolean>]
[-MoveToIndex <Int32>] [-NewStepName <String>] [-RemoveConditionFile] [-RemoveConditionFolder]
[-RemoveConditionIfStatement] [-RemoveConditionOperatingSystem] [-RemoveConditionQueryWmi]
[-RemoveConditionRegistry] [-RemoveConditionSoftware] [-RemoveConditionVariable] [-StepName <String>]
[-StepOrder <ReorderType>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
ByName
Set-CMTSStepRunTaskSequence [-RunTaskSequence <IResultObject>] [-AddCondition <IResultObject[]>]
[-ClearCondition] [-Description <String>] [-IsContinueOnError <Boolean>] [-IsEnabled <Boolean>]
[-MoveToIndex <Int32>] [-NewStepName <String>] [-RemoveConditionFile] [-RemoveConditionFolder]
[-RemoveConditionIfStatement] [-RemoveConditionOperatingSystem] [-RemoveConditionQueryWmi]
[-RemoveConditionRegistry] [-RemoveConditionSoftware] [-RemoveConditionVariable] [-StepName <String>]
[-StepOrder <ReorderType>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionIfStatement
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-Condition <IResultObject[]>]
[-SetConditionIfStatement] [-StatementType <ConditionStatementType>] [-StepName <String>]
-TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByNameSetConditionIfStatement
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-Condition <IResultObject[]>]
[-SetConditionIfStatement] [-StatementType <ConditionStatementType>] [-StepName <String>]
-TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByValueSetConditionIfStatement
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-Condition <IResultObject[]>]
-InputObject <IResultObject> [-SetConditionIfStatement] [-StatementType <ConditionStatementType>]
[-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByIdSetConditionVariable
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-ConditionVariableName <String>]
[-ConditionVariableValue <String>] [-OperatorType <VariableOperatorType>] [-SetConditionVariable]
[-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByNameSetConditionVariable
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-ConditionVariableName <String>]
[-ConditionVariableValue <String>] [-OperatorType <VariableOperatorType>] [-SetConditionVariable]
[-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByValueSetConditionVariable
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-ConditionVariableName <String>]
[-ConditionVariableValue <String>] -InputObject <IResultObject> [-OperatorType <VariableOperatorType>]
[-SetConditionVariable] [-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionFile
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-FileDateTimeOperator <VariableOperatorType>]
[-FilePath <String>] [-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile]
[-StepName <String>] -TaskSequenceId <String> [-VersionOperator <VariableOperatorType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionFile
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-FileDateTimeOperator <VariableOperatorType>]
[-FilePath <String>] [-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile]
[-StepName <String>] -TaskSequenceName <String> [-VersionOperator <VariableOperatorType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionFile
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-FileDateTimeOperator <VariableOperatorType>]
[-FilePath <String>] [-FileTimestamp <DateTime>] [-FileVersion <String>] -InputObject <IResultObject>
[-SetConditionFile] [-StepName <String>] [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionFolder
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-FolderDateTimeOperator <VariableOperatorType>]
[-FolderPath <String>] [-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>]
-TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByNameSetConditionFolder
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-FolderDateTimeOperator <VariableOperatorType>]
[-FolderPath <String>] [-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>]
-TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByValueSetConditionFolder
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-FolderDateTimeOperator <VariableOperatorType>]
[-FolderPath <String>] [-FolderTimestamp <DateTime>] -InputObject <IResultObject> [-SetConditionFolder]
[-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByValueSetConditionQueryWmi
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> -InputObject <IResultObject>
[-Namespace <String[]>] [-Query <String>] [-SetConditionQueryWmi] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionOperatingSystem
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> -InputObject <IResultObject>
[-SetConditionOperatingSystem] [-StepName <String>] [-SupportedPlatform <IResultObject[]>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionRegistry
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> -InputObject <IResultObject>
[-RegistryKey <String>] [-RegistryOperator <VariableOperatorType>] [-RegistryValueData <String>]
[-RegistryValueName <String>] [-RootKey <RegistryRootKeyType>] [-SetConditionRegistry] [-StepName <String>]
[-ValueType <RegistryValueType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByValueSetConditionSoftware
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> -InputObject <IResultObject>
[-IsAnyVersion <Boolean>] [-MsiFilePath <String>] [-SetConditionSoftware] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionSoftware
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-IsAnyVersion <Boolean>] [-MsiFilePath <String>]
[-SetConditionSoftware] [-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionSoftware
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-IsAnyVersion <Boolean>] [-MsiFilePath <String>]
[-SetConditionSoftware] [-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionQueryWmi
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-Namespace <String[]>] [-Query <String>]
[-SetConditionQueryWmi] [-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionQueryWmi
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-Namespace <String[]>] [-Query <String>]
[-SetConditionQueryWmi] [-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionRegistry
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-RegistryKey <String>]
[-RegistryOperator <VariableOperatorType>] [-RegistryValueData <String>] [-RegistryValueName <String>]
[-RootKey <RegistryRootKeyType>] [-SetConditionRegistry] [-StepName <String>] -TaskSequenceId <String>
[-ValueType <RegistryValueType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByNameSetConditionRegistry
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-RegistryKey <String>]
[-RegistryOperator <VariableOperatorType>] [-RegistryValueData <String>] [-RegistryValueName <String>]
[-RootKey <RegistryRootKeyType>] [-SetConditionRegistry] [-StepName <String>] -TaskSequenceName <String>
[-ValueType <RegistryValueType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByIdSetConditionOperatingSystem
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-SetConditionOperatingSystem]
[-StepName <String>] [-SupportedPlatform <IResultObject[]>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionOperatingSystem
Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-SetConditionOperatingSystem]
[-StepName <String>] [-SupportedPlatform <IResultObject[]>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Počínaje verzí 1906 použijte tuto rutinu k úpravě pořadí úkolů Spustit krok pořadí úloh.
EXAMPLES
Příklad 1: Změna podřízeného pořadí úkolů ke spuštění
Tento příklad získá objekty pro obě pořadí úkolů. Pak změní podřízené pořadí úkolů, které je spuštěno v kroku Spustit pořadí úkolů v nadřazeném pořadí úkolů.
$parentTS = Get-CMTaskSequence -Name "parent task sequence"
$childTS = Get-CMTaskSequence -Name "child task sequence"
$parentTS | Set-CMTSStepRunTaskSequence -RunTaskSequence $childTS
PARAMETERS
-AddCondition
Zadejte objekt podmínky kroku pořadí úloh, který se má přidat do zadaného pořadí úloh. Použijte například rutinu Get-CMTSStepConditionVariable .
Type: IResultObject[]
Parameter Sets: ByValue, ById, ByName
Aliases: AddConditions
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ClearCondition
Odebere zadanou podmínku z kroku pořadí úloh.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases: ClearConditions
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Podmínka
Zadejte objekt podmínky kroku pořadí úloh. Použijte například rutinu Get-CMTSStepConditionVariable .
Type: IResultObject[]
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement
Aliases: SubCondition, SubConditions
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ConditionVariableName
Zadejte název proměnné, která se má přidat jako podmínka pro krok pořadí úkolů.
Type: String
Parameter Sets: ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable
Aliases: Variable
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ConditionVariableValue
Zadejte hodnotu proměnné, která se má přidat jako podmínka pro krok pořadí úkolů.
Type: String
Parameter Sets: ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable
Aliases: Value
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Před spuštěním rutiny zobrazí výzvu k potvrzení.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Description
Zadejte popis kroku pořadí úloh.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableWildcardHandling
Tento parametr považuje zástupné znaky jako literálové hodnoty znaků. Nejde kombinovat s ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FileDateTimeOperator
Zadejte typ operátoru proměnné pro podmínku data a času souboru.
Type: VariableOperatorType
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Accepted values: Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– FilePath
Zadejte cestu ke stavu souboru.
Type: String
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Časové razítko
Zadejte hodnotu data a času, která se má použít pro podmínku souboru.
Type: DateTime
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Verze
Zadejte řetězec verze pro stav souboru.
Type: String
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FolderDateTimeOperator
Zadejte operátor proměnné pro podmínku data/času.
Type: VariableOperatorType
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Accepted values: Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– FolderPath
Zadejte cestu pro podmínku složky.
Type: String
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FolderTimestamp
Zadejte hodnotu data a času, která se má použít pro podmínku složky.
Type: DateTime
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ForceWildcardHandling
Tento parametr zpracovává zástupné znaky a může vést k neočekávanému chování. Nedoporučuje se. Nejde kombinovat s DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– Položky InputObject
Zadejte objekt pro pořadí úkolů, které chcete upravit.
Type: IResultObject
Parameter Sets: ByValue, ByValueSetConditionIfStatement, ByValueSetConditionVariable, ByValueSetConditionFile, ByValueSetConditionFolder, ByValueSetConditionQueryWmi, ByValueSetConditionOperatingSystem, ByValueSetConditionRegistry, ByValueSetConditionSoftware
Aliases: TaskSequence
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-IsAnyVersion
Tento parametr s parametrem SetConditionSoftware použijte k vyhledání libovolné verze produktu.
Type: Boolean
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsContinueOnError
Zkontroluje, jestli je tento krok pořadí úkolů nakonfigurovaný tak, aby při chybě pokračoval.
Type: Boolean
Parameter Sets: ByValue, ById, ByName
Aliases: IsThisStepContinueOnError
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Povoleno
Zkontroluje, jestli je tento krok pořadí úkolů povolený.
Type: Boolean
Parameter Sets: ByValue, ById, ByName
Aliases: IsThisStepEnabled
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MoveToIndex
Přesune zadaný krok pořadí úkolů na zadaný celočíselný index.
Type: Int32
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MsiFilePath
zadejte cestu k souboru Instalační služba systému Windows pro stav softwaru.
Type: String
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– Obor názvů
Zadejte obor názvů pro podmínku dotazu WMI.
Type: String[]
Parameter Sets: ByValueSetConditionQueryWmi, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NewStepName
Zadejte nový název pro tento krok pořadí úkolů.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OperatorType
Zadejte operátor, který se má použít s podmínkou proměnné pořadí úkolů.
Type: VariableOperatorType
Parameter Sets: ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable
Aliases:
Accepted values: Exists, NotExists, Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual, Like, NotLike
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– Dotaz
Zadejte řetězec dotazu rozhraní WMI, který se má použít pro podmínku.
Type: String
Parameter Sets: ByValueSetConditionQueryWmi, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– RegistryKey
Zadejte klíč, který bude použit s podmínkou registru.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryOperator
Zadejte operátor, který má být použit s podmínkou registru.
Type: VariableOperatorType
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Accepted values: Exists, NotExists, Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryValueData
Zadejte údaj hodnoty pro použití s podmínkou registru.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryValueName
Zadejte název hodnoty pro použití s podmínkou registru.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionFile
Pomocí tohoto parametru můžete odebrat stav souboru.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionFolder
Pomocí tohoto parametru můžete odebrat podmínku složky.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionIfStatement
Tento parametr použijte k odebrání if
podmínky příkazu.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionOperatingSystem
Pomocí tohoto parametru můžete odebrat podmínku operačního systému.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionQueryWmi
Pomocí tohoto parametru můžete odebrat podmínku dotazu WMI.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionRegistry
Pomocí tohoto parametru odeberte podmínku registru.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionSoftware
Pomocí tohoto parametru můžete odebrat stav softwaru.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionVariable
Tento parametr použijte k odebrání podmínky proměnné pořadí úkolů.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– Kořenový_klíč
Zadejte kořenový klíč pro použití s podmínkou registru.
Type: RegistryRootKeyType
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Accepted values: HKeyCurrentUser, HKeyLocalMachine, HKeyUsers, HKeyCurrentConfig
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RunTaskSequence
Zadejte objekt pro pořadí podřízených úloh, které se má v tomto kroku spustit.
Type: IResultObject
Parameter Sets: ByValue, ById, ByName
Aliases: Child
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: IResultObject
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement, ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable, ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile, ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder, ByValueSetConditionQueryWmi, ByValueSetConditionOperatingSystem, ByValueSetConditionRegistry, ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi, ByIdSetConditionRegistry, ByNameSetConditionRegistry, ByIdSetConditionOperatingSystem, ByNameSetConditionOperatingSystem
Aliases: Child
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionFile
Přidejte podmínku nového souboru.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionFolder
Přidejte podmínku nové složky.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionIfStatement
Přidejte podmínku nového if
příkazu.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionOperatingSystem
Přidejte novou podmínku operačního systému.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionOperatingSystem, ByIdSetConditionOperatingSystem, ByNameSetConditionOperatingSystem
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionQueryWmi
Přidejte novou podmínku dotazu WMI.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionQueryWmi, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionRegistry
Přidejte novou podmínku registru.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionSoftware
Přidejte novou podmínku softwaru.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionVariable
Přidejte novou podmínku proměnné pořadí úkolů.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– Třída StatementType
Nastavte typ if
podmínky příkazu.
Type: ConditionStatementType
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement
Aliases: Operator
Accepted values: All, Any, None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– Step
Zadejte název cílového kroku pořadí úkolů.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StepOrder
Pomocí tohoto parametru můžete změnit pořadí kroků v pořadí úkolů.
Type: ReorderType
Parameter Sets: ByValue, ById, ByName
Aliases:
Accepted values: MoveUp, MoveDown, MoveToIndex
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SupportedPlatform
Tento parametr použijte k určení platforem pro podmínku operačního systému.
Type: IResultObject[]
Parameter Sets: ByValueSetConditionOperatingSystem, ByIdSetConditionOperatingSystem, ByNameSetConditionOperatingSystem
Aliases: SupportedPlatforms
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-TaskSequenceId
Zadejte ID pořadí úkolů, které se má cílit.
Type: String
Parameter Sets: ById, ByIdSetConditionIfStatement, ByIdSetConditionVariable, ByIdSetConditionFile, ByIdSetConditionFolder, ByIdSetConditionSoftware, ByIdSetConditionQueryWmi, ByIdSetConditionRegistry, ByIdSetConditionOperatingSystem
Aliases: Id, TaskSequencePackageId
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-TaskSequenceName
Zadejte název pořadí úkolů, které chcete cílit.
Type: String
Parameter Sets: ByName, ByNameSetConditionIfStatement, ByNameSetConditionVariable, ByNameSetConditionFile, ByNameSetConditionFolder, ByNameSetConditionSoftware, ByNameSetConditionQueryWmi, ByNameSetConditionRegistry, ByNameSetConditionOperatingSystem
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
– ValueType
Zadejte typ hodnoty pro podmínku registru.
Type: RegistryValueType
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Accepted values: RegistrySZ, RegistryExpandSZ, RegistryDWord
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-VersionOperator
Zadejte operátor, který se má použít s podmínkou souboru.
Type: VariableOperatorType
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Accepted values: Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Zobrazuje, co by se stalo při spuštění rutiny. Rutina se nespustí.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
Tato rutina podporuje společné parametry: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction a -WarningVariable. Další informace najdete v tématu about_CommonParameters.