Set-CMTSStepUpgradeOperatingSystem
SYNOPSIS
Configurar uma instância do passo da sequência de tarefas do Sistema de Atualização.
SYNTAX
ByValue (Padrão)
Set-CMTSStepUpgradeOperatingSystem [-DriverPackage <IResultObject>]
[-DynamicUpdateSetting <DynamicUpdateOption>] [-EditionIndex <Int32>] [-IgnoreMessage <Boolean>]
[-ProductKey <String>] [-ScanOnly <Boolean>] [-SetupTimeout <Int32>] [-SourcePath <String>]
[-StagedContent <String>] [-UpgradePackage <IResultObject>] [-SoftwareUpdate <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-CMTSStepUpgradeOperatingSystem [-DriverPackage <IResultObject>]
[-DynamicUpdateSetting <DynamicUpdateOption>] [-EditionIndex <Int32>] [-IgnoreMessage <Boolean>]
[-ProductKey <String>] [-ScanOnly <Boolean>] [-SetupTimeout <Int32>] [-SourcePath <String>]
[-StagedContent <String>] [-UpgradePackage <IResultObject>] [-SoftwareUpdate <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-CMTSStepUpgradeOperatingSystem [-DriverPackage <IResultObject>]
[-DynamicUpdateSetting <DynamicUpdateOption>] [-EditionIndex <Int32>] [-IgnoreMessage <Boolean>]
[-ProductKey <String>] [-ScanOnly <Boolean>] [-SetupTimeout <Int32>] [-SourcePath <String>]
[-StagedContent <String>] [-UpgradePackage <IResultObject>] [-SoftwareUpdate <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-CMTSStepUpgradeOperatingSystem [-Condition <IResultObject[]>] [-SetConditionIfStatement]
[-StatementType <ConditionStatementType>] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionIfStatement
Set-CMTSStepUpgradeOperatingSystem [-Condition <IResultObject[]>] [-SetConditionIfStatement]
[-StatementType <ConditionStatementType>] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionIfStatement
Set-CMTSStepUpgradeOperatingSystem [-Condition <IResultObject[]>] -InputObject <IResultObject>
[-SetConditionIfStatement] [-StatementType <ConditionStatementType>] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionVariable
Set-CMTSStepUpgradeOperatingSystem [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
[-OperatorType <VariableOperatorType>] [-SetConditionVariable] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionVariable
Set-CMTSStepUpgradeOperatingSystem [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
[-OperatorType <VariableOperatorType>] [-SetConditionVariable] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionVariable
Set-CMTSStepUpgradeOperatingSystem [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
-InputObject <IResultObject> [-OperatorType <VariableOperatorType>] [-SetConditionVariable]
[-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByIdSetConditionFile
Set-CMTSStepUpgradeOperatingSystem [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile] [-StepName <String>]
-TaskSequenceId <String> [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionFile
Set-CMTSStepUpgradeOperatingSystem [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile] [-StepName <String>]
-TaskSequenceName <String> [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionFile
Set-CMTSStepUpgradeOperatingSystem [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] -InputObject <IResultObject> [-SetConditionFile]
[-StepName <String>] [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionFolder
Set-CMTSStepUpgradeOperatingSystem [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionFolder
Set-CMTSStepUpgradeOperatingSystem [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionFolder
Set-CMTSStepUpgradeOperatingSystem [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] -InputObject <IResultObject> [-SetConditionFolder] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionQueryWmi
Set-CMTSStepUpgradeOperatingSystem -InputObject <IResultObject> [-Namespace <String[]>] [-Query <String>]
[-SetConditionQueryWmi] [-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByValueSetConditionOperatingSystem
Set-CMTSStepUpgradeOperatingSystem -InputObject <IResultObject> [-SetConditionOperatingSystem]
[-StepName <String>] [-SupportedPlatform <IResultObject[]>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionRegistry
Set-CMTSStepUpgradeOperatingSystem -InputObject <IResultObject> [-RegistryKey <String>]
[-RegistryOperator <VariableOperatorType>] [-RegistryValueData <String>] [-RegistryValueName <String>]
[-RootKey <RegistryRootKeyType>] [-SetConditionRegistry] [-StepName <String>] [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionSoftware
Set-CMTSStepUpgradeOperatingSystem -InputObject <IResultObject> [-IsAnyVersion <Boolean>]
[-MsiFilePath <String>] [-SetConditionSoftware] [-StepName <String>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionSoftware
Set-CMTSStepUpgradeOperatingSystem [-IsAnyVersion <Boolean>] [-MsiFilePath <String>] [-SetConditionSoftware]
[-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByNameSetConditionSoftware
Set-CMTSStepUpgradeOperatingSystem [-IsAnyVersion <Boolean>] [-MsiFilePath <String>] [-SetConditionSoftware]
[-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionQueryWmi
Set-CMTSStepUpgradeOperatingSystem [-Namespace <String[]>] [-Query <String>] [-SetConditionQueryWmi]
[-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByNameSetConditionQueryWmi
Set-CMTSStepUpgradeOperatingSystem [-Namespace <String[]>] [-Query <String>] [-SetConditionQueryWmi]
[-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionRegistry
Set-CMTSStepUpgradeOperatingSystem [-RegistryKey <String>] [-RegistryOperator <VariableOperatorType>]
[-RegistryValueData <String>] [-RegistryValueName <String>] [-RootKey <RegistryRootKeyType>]
[-SetConditionRegistry] [-StepName <String>] -TaskSequenceId <String> [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionRegistry
Set-CMTSStepUpgradeOperatingSystem [-RegistryKey <String>] [-RegistryOperator <VariableOperatorType>]
[-RegistryValueData <String>] [-RegistryValueName <String>] [-RootKey <RegistryRootKeyType>]
[-SetConditionRegistry] [-StepName <String>] -TaskSequenceName <String> [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionOperatingSystem
Set-CMTSStepUpgradeOperatingSystem [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] -TaskSequenceId <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionOperatingSystem
Set-CMTSStepUpgradeOperatingSystem [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] -TaskSequenceName <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Utilize este cmdlet para configurar uma instância do passo da sequência de tarefas do Sistema operativo de atualização.
Para obter mais informações sobre este passo, consulte sobre os passos da sequência de tarefas: Atualizar o SISTEMA.
Nota
Executar cmdlets do Gestor de Configuração a partir da unidade do site do Gestor de Configuração, por exemplo PS XYZ:\>
. Para mais informações, consulte a partida.
EXAMPLES
Exemplo 1
Este exemplo altera o passo de atualização do SISTEMA na sequência de tarefas de atualização padrão do SISTEMA para utilizar uma atualização de funcionalidade.
$tsNameUpg = "Default OS upgrade"
$tsStepNameUpgradeOs = "Upgrade Operating System"
$update = Get-CMSoftwareUpdate -Name "Feature update to Windows 10 (business editions), version 20H2, en-us x64"
Set-CMTSStepUpgradeOperatingSystem -TaskSequenceName $tsNameUpg -StepName $tsStepNameUpgradeOs -SoftwareUpdate $update
PARAMETERS
-Agregação
Especifique um objeto de condição para adicionar a este passo. Para obter este objeto, utilize um dos cmdlets da sequência de tarefa. Por exemplo, 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 uma condição deste passo. Utilize o parâmetro -Condição para especificar a condição a remover.
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 para usar com este passo. Para obter este objeto, utilize um dos cmdlets da sequência de tarefa. Por exemplo, 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 da variável da sequência de tarefa para usar como condição.
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
Especificar o valor da variável da sequência de tarefa a utilizar numa condição.
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 opcional 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
-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
-DriverPackage
Especifique um objeto de pacote do controlador para fornecer o conteúdo do seu controlador para Windows Configuração durante a atualização. Para obter este pacote, utilize o cmdlet Get-CMDriverPackage.
Utilize o parâmetro StagedContent para especificar a localização do conteúdo do condutor.
Type: IResultObject
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DynamicUpdateSetting
Utilize este parâmetro para atualizar dinamicamente Windows Configuração com Windows Update.
DisablePolicy
: Não utilize a Atualização DinâmicaUsingPolicy
: Ative a configuração para utilizar o Dynamic Update, como pesquisar, descarregar e instalar atualizações.OverridePolicy
: Substitua temporariamente a política local em tempo real para executar operações de Atualização Dinâmica. O computador recebe atualizações a partir de Windows Update.
Type: DynamicUpdateOption
Parameter Sets: ByValue, ById, ByName
Aliases:
Accepted values: DisablePolicy, UsingPolicy, OverridePolicy
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
- EdiçãoIndex
Especifique um valor inteiro da edição do pacote de upgrade do SO. Utilize este parâmetro com o parâmetro UpgradePackage.
Type: Int32
Parameter Sets: ByValue, ById, ByName
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
-Ignorar AMessage
Desa esta definição para $true
especificar que Windows Configuração completa a instalação, ignorando quaisquer mensagens de compatibilidade dispensáveis.
Type: Boolean
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
Especifique um objeto de sequência de tarefa que tenha o passo de atualização do SO para configurar. Para obter este objeto, utilize o cmdlet Get-CMTaskSequence.
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
Utilize este parâmetro para ativar a opção de passo Continue a cometer erro. Quando ativa esta opção, se o passo falhar, a sequência de tarefas continua.
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
Utilize este parâmetro para ativar este passo de sequência de tarefa.
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 este passo para a posição de índice especificado na sequência de tarefas.
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
Utilize este parâmetro para renomear 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
-ProductKey
Especifique a chave do produto para aplicar ao processo de atualização.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
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
-ScanOnly
Desa esta definição deste parâmetro $true
para executar a compatibilidade de configuração Windows sem iniciar a atualização.
Type: Boolean
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
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
-SetupTimeout
Especifique o número de minutos antes de o Gestor de Configuração falhar este passo. Esta opção é útil se Windows Configuração parar de processar, mas não terminar.
Type: Int32
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
- SourcePath
Especifique um caminho local ou de rede para os meios de Windows que Windows a Configuração utiliza.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EncenarContent
Utilize este parâmetro com a DriverPackage para especificar a localização do conteúdo do condutor. Pode especificar uma pasta local, um caminho de rede ou uma variável de sequência de tarefas.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
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
Especifique o nome do passo para selecionar para alterações.
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 de pacote da sequência de tarefa com o passo de atualização do SO para configurar. Este valor é um ID de pacote padrão, por XYZ00858
exemplo.
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 para alterações.
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
-UpgradePackage
Especifique um objeto de pacote de upgrade de SO. Utilize o parâmetro EditionIndex para definir a edição.
Para obter este objeto, utilize o cmdlet Get-CMOperatingSystemInstaller.
Type: IResultObject
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
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
-SoftwareUpdate
A partir da versão 2107, especifique um objeto de atualização de software para atualizar o sistema operativo Windows de um cliente utilizando uma atualização de funcionalidade. Para obter este objeto, utilize o cmdlet Get-CMSoftwareUpdate.
Type: IResultObject[]
Parameter Sets: ByValue, ById, ByName
Aliases:
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.
INPUTS
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
OUTPUTS
Sistema.Objeto
NOTAS
RELATED LINKS
Sistema operativo Get-CMTSStepUpgrade Sistema operativo new-CMTSStepUpgrade Remover-CMTSStepUpgrade Sistema operativo