Set-CMTSStepRunTaskSequence
SYNOPSIS
Utilize este cmdlet para editar a sequência de tarefas de execução da sequência de tarefas.
SYNTAX
ByValue (Padrão)
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
A partir da versão 1906, utilize este cmdlet para editar a sequência de tarefas executada sequência de tarefas.
EXAMPLES
Exemplo 1: Alterar a sequência de tarefas da criança para executar
Este exemplo obtém objetos para ambas as sequências de tarefas. Em seguida, altera a sequência de tarefas da criança que é executada a partir do passo da Sequência de Tarefas de Execução na sequência de tarefas dos pais.
$parentTS = Get-CMTaskSequence -Name "parent task sequence"
$childTS = Get-CMTaskSequence -Name "child task sequence"
$parentTS | Set-CMTSStepRunTaskSequence -RunTaskSequence $childTS
PARAMETERS
-Agregação
Especifique um objeto de condição de etapa de sequência de tarefa para adicionar à sequência de tarefas especificada. Por exemplo, utilize o cmdlet 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
-Limpar a condição
Retire a condição especificada do passo da sequência de tarefa.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases: ClearConditions
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Condição
Especifique um objeto de condição de passo de sequência de tarefa. Por exemplo, utilize o cmdlet 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
-Nome Variavel condição
Especifique o nome variável para adicionar como condição ao passo da sequência de tarefa.
Type: String
Parameter Sets: ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable
Aliases: Variable
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CondicionarvariávelValue
Especifique o valor variável a adicionar como condição ao passo da sequência de tarefa.
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
Solicita a sua confirmação antes de executar o cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Descrição
Especifique uma descrição para o passo da sequência de tarefa.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableWildcardHandling
Este parâmetro trata os caracteres wildcard como valores de caracteres literais. Não pode combiná-lo com ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FileDateTimeOperator
Especifique um tipo de operador variável para uma data/hora de arquivo.
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
Especifique o caminho para uma condição de ficheiro.
Type: String
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FileTimestamp
Especifique um valor de data/hora para usar para uma condição de ficheiro.
Type: DateTime
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Imagem de Arquivo
Especifique uma cadeia de versão para uma condição de ficheiro.
Type: String
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PastaDateTimeOperator
Especifique um operador variável para uma condição de data/hora da pasta.
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
-PastaPata
Especifique o caminho para uma condição de pasta.
Type: String
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PastaTimestamp
Especifique um valor de data/hora para utilizar para uma condição de pasta.
Type: DateTime
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ForceWildcardHandling
Este parâmetro processa caracteres wildcard e pode levar a um comportamento inesperado. Não é recomendado. Não é possível combiná-lo com DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
Especifique um objeto para a sequência de tarefas modificar.
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
-IsAnversion
Utilize este parâmetro com o parâmetro SetConditionSoftware para corresponder a qualquer versão do produto.
Type: Boolean
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsContinueOnError
Verifique se este passo de sequência de tarefa está configurado para continuar a cometer erros.
Type: Boolean
Parameter Sets: ByValue, ById, ByName
Aliases: IsThisStepContinueOnError
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsEnabled
Verifique se este passo de sequência de tarefa está ativado.
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
Mova o passo de sequência de tarefa especificado para o índice inteiro especificado.
Type: Int32
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MsiFilePath
Especifique o caminho para um ficheiro Windows Instalador para uma condição de software.
Type: String
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
- Espaço de nome
Especifique o espaço de nome para uma condição de consulta do 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
Especifique um novo nome para este passo de sequência de tarefa.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OperadorType
Especifique um operador para utilizar com uma condição variável de sequência de tarefa.
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
-Consulta
Especifique um fio de consulta WMI para usar para uma condição.
Type: String
Parameter Sets: ByValueSetConditionQueryWmi, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryKey
Especifique a chave a utilizar com uma condição de registo.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistroOperador
Especifique um operador para utilizar com uma condição de registo.
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
Especifique os dados de valor a utilizar com uma condição de registo.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryValueName
Especifique o nome de valor a utilizar com uma condição de registo.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Remover Ficheiro de Condições
Utilize este parâmetro para remover uma condição de ficheiro.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Remover o 14.000
Utilize este parâmetro para remover uma condição de pasta.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoverCondiçãoIfStatement
Utilize este parâmetro para remover uma if
condição de afirmação.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Remover Sistema operativo de Condições
Utilize este parâmetro para remover uma condição de SO.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoverConditionQueryWmi
Utilize este parâmetro para remover uma condição de consulta do WMI.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Remover CondiçãoRegistry
Utilize este parâmetro para remover uma condição de registo.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoverConditionSoftware
Utilize este parâmetro para remover uma condição de software.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoverCondição Variabilidade
Utilize este parâmetro para remover uma condição variável de sequência de tarefa.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RootKey
Especifique a chave raiz para usar com uma condição de registo.
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
Especifique um objeto para que a sequência de tarefas da criança seja executada com este passo.
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
Adicione uma nova condição de arquivo.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionFolder
Adicione uma nova condição de pasta.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionIfStatement
Adicione uma nova if
condição de declaração.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionOperatingSystem
Adicione uma nova condição de SO.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionOperatingSystem, ByIdSetConditionOperatingSystem, ByNameSetConditionOperatingSystem
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionQueryWmi
Adicione uma nova condição de consulta do 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
Adicione uma nova condição de registo.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionSoftware
Adicione uma nova condição de software.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionVariable
Adicione uma nova condição variável de sequência de tarefa.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StatementType
Desacione o tipo para uma if
condição de declaração.
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
-Nome de passo
Especificar o nome do passo da sequência de tarefas do alvo.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StepOrder
Utilize este parâmetro para reencomendar o passo na sequência de tarefas.
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
-SuportadoPlatform
Utilize este parâmetro para especificar as plataformas para uma condição de SO.
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
Especifique o ID da sequência de tarefas para o alvo.
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
- Nome de Tarefasequence
Especifique o nome da sequência de tarefas para o alvo.
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
-ValorType
Especifique o tipo de valor para uma condição de registo.
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
Especifique um operador para usar com uma condição de ficheiro.
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
- O QueIf
Apresenta o que aconteceria mediante a execução do cmdlet. O comandante não funciona.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
Este cmdlet suporta os parâmetros comuns: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction e -WarningVariable. Para mais informações, consulte about_CommonParameters.