Set-CMTSStepSetDynamicVariable
SYNOPSIS
Skonfiguruj krok sekwencji zadań Ustaw zmienną dynamiczną.
SYNTAX
ByValue (wartość domyślna)
Set-CMTSStepSetDynamicVariable [-AddRule <IResultObject[]>] [-CleanRule] [-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-CMTSStepSetDynamicVariable [-AddRule <IResultObject[]>] [-CleanRule] [-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>]
WedługNazwa
Set-CMTSStepSetDynamicVariable [-AddRule <IResultObject[]>] [-CleanRule] [-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-CMTSStepSetDynamicVariable [-Condition <IResultObject[]>] [-SetConditionIfStatement]
[-StatementType <ConditionStatementType>] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionIfStatement
Set-CMTSStepSetDynamicVariable [-Condition <IResultObject[]>] [-SetConditionIfStatement]
[-StatementType <ConditionStatementType>] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionIfStatement
Set-CMTSStepSetDynamicVariable [-Condition <IResultObject[]>] -InputObject <IResultObject>
[-SetConditionIfStatement] [-StatementType <ConditionStatementType>] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionVariable
Set-CMTSStepSetDynamicVariable [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
[-OperatorType <VariableOperatorType>] [-SetConditionVariable] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionVariable
Set-CMTSStepSetDynamicVariable [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
[-OperatorType <VariableOperatorType>] [-SetConditionVariable] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionVariable
Set-CMTSStepSetDynamicVariable [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
-InputObject <IResultObject> [-OperatorType <VariableOperatorType>] [-SetConditionVariable]
[-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByIdSetConditionFile
Set-CMTSStepSetDynamicVariable [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile] [-StepName <String>]
-TaskSequenceId <String> [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionFile
Set-CMTSStepSetDynamicVariable [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile] [-StepName <String>]
-TaskSequenceName <String> [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionFile
Set-CMTSStepSetDynamicVariable [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] -InputObject <IResultObject> [-SetConditionFile]
[-StepName <String>] [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionFolder
Set-CMTSStepSetDynamicVariable [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionFolder
Set-CMTSStepSetDynamicVariable [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionFolder
Set-CMTSStepSetDynamicVariable [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] -InputObject <IResultObject> [-SetConditionFolder] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionQueryWmi
Set-CMTSStepSetDynamicVariable -InputObject <IResultObject> [-Namespace <String[]>] [-Query <String>]
[-SetConditionQueryWmi] [-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByValueSetConditionOperatingSystem
Set-CMTSStepSetDynamicVariable -InputObject <IResultObject> [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByValueSetConditionRegistry
Set-CMTSStepSetDynamicVariable -InputObject <IResultObject> [-RegistryKey <String>]
[-RegistryOperator <VariableOperatorType>] [-RegistryValueData <String>] [-RegistryValueName <String>]
[-RootKey <RegistryRootKeyType>] [-SetConditionRegistry] [-StepName <String>] [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionSoftware
Set-CMTSStepSetDynamicVariable -InputObject <IResultObject> [-IsAnyVersion <Boolean>] [-MsiFilePath <String>]
[-SetConditionSoftware] [-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionSoftware
Set-CMTSStepSetDynamicVariable [-IsAnyVersion <Boolean>] [-MsiFilePath <String>] [-SetConditionSoftware]
[-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByNameSetConditionSoftware
Set-CMTSStepSetDynamicVariable [-IsAnyVersion <Boolean>] [-MsiFilePath <String>] [-SetConditionSoftware]
[-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionQueryWmi
Set-CMTSStepSetDynamicVariable [-Namespace <String[]>] [-Query <String>] [-SetConditionQueryWmi]
[-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByNameSetConditionQueryWmi
Set-CMTSStepSetDynamicVariable [-Namespace <String[]>] [-Query <String>] [-SetConditionQueryWmi]
[-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionRegistry
Set-CMTSStepSetDynamicVariable [-RegistryKey <String>] [-RegistryOperator <VariableOperatorType>]
[-RegistryValueData <String>] [-RegistryValueName <String>] [-RootKey <RegistryRootKeyType>]
[-SetConditionRegistry] [-StepName <String>] -TaskSequenceId <String> [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionRegistry
Set-CMTSStepSetDynamicVariable [-RegistryKey <String>] [-RegistryOperator <VariableOperatorType>]
[-RegistryValueData <String>] [-RegistryValueName <String>] [-RootKey <RegistryRootKeyType>]
[-SetConditionRegistry] [-StepName <String>] -TaskSequenceName <String> [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionOperatingSystem
Set-CMTSStepSetDynamicVariable [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] -TaskSequenceId <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionOperatingSystem
Set-CMTSStepSetDynamicVariable [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] -TaskSequenceName <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
To polecenie cmdlet pozwala ustawić właściwości, opcje i warunki dla kroku Ustaw zmienną dynamiczną w sekwencji zadań. Aby uzyskać więcej informacji, zobacz About task sequence steps - Set Dynamic Variables ( Informacje o krokach sekwencji zadań — ustawianie zmiennych dynamicznych).
Uwaga
Uruchom Menedżer konfiguracji cmdlet z Menedżer konfiguracji lokacji, na przykład PS XYZ:\>
. Aby uzyskać więcej informacji, zobacz wprowadzenie.
EXAMPLES
Przykład 1. Konfigurowanie kroku przy użyciu warunku i dwóch reguł
To polecenie najpierw zapisuje docelowy obiekt sekwencji zadań w zmiennej. Następnie tworzy obiekt warunku sekwencji zadań. Istnieją dwa zastosowania polecenia New-CMTSRule do tworzenia obiektów reguł. Ostatni wiersz uruchamia to polecenie cmdlet, przekazując obiekt sekwencji zadań. Powoduje wyczyszczenie wszystkich istniejących warunków i reguł oraz dodanie nowych.
$ts = Get-CMTaskSequence -Name "Default IPU"
$tscondition = New-CMTSStepConditionVariable -ConditionVariableName "_SMSTSInWinPE" -ConditionVariableValue "false" -OperatorType Equals
$tsrule1 = New-CMTSRule -DefaultGateway "192.168.10.1" -Variable @{'OSDRegisteredUserName' = 'Contoso';'OSDRegisteredOrgName' = 'Contoso'}
$tsrule2 = New CMTSRule -Make "Surface" -Model "*" -Variable @{'custTattoo1' = 'AllSurface'}
$ts | Set-CMTaskSequenceStepSetDynamicVariable -ClearCondition -AddCondition $tscondition -CleanRule -AddRule ($tsrule1,$tsrule2)
PARAMETERS
-AddCondition
Określ obiekty warunku sekwencji zadań do dodania. Aby uzyskać ten obiekt, użyj jednego z następujących polecenia cmdlet:
- New-CMTSStepConditionFile
- New-CMTSStepConditionFolder
- New-CMTSStepConditionIfStatement
- New-CMTSStepConditionOperatingSystem
- New-CMTSStepConditionOperatingSystemLanguage
- New-CMTSStepConditionQueryWmi
- New-CMTSStepConditionRegistry
- New-CMTSStepConditionSoftware
- New-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
-AddRule
Określ obiekt reguły sekwencji zadań. Reguły definiują kryteria i zmienne do ustawienia podczas oceniania wartości true. Aby uzyskać ten obiekt, użyj polecenia cmdlet New-CMTSRule.
Type: IResultObject[]
Parameter Sets: ByValue, ById, ByName
Aliases: AddRules
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CleanRule
Dodaj ten parametr, aby usunąć wszystkie istniejące reguły. Użyj tego parametru z addRule parametru.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases: CleanRules
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ClearCondition
Dodaj ten parametr, aby usunąć wszystkie istniejące warunki.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases: ClearConditions
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Warunek
Określa warunki. Ten parametr jest używany z jednym z następujących parametrów: SetConditionIfStatement, SetConditionQueryWmi, SetConditionVariable, SetConditionOperatingSystem, SetConditionFile, SetConditionFolder, SetConditionRegistry i SetConditionSoftware.
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
Określa nazwę zmiennej warunku.
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
Określa wartość zmiennej warunku.
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
Monituje o potwierdzenie przed uruchomieniem polecenia cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Description (Opis)
Podaj opcjonalny opis, który pomoże opisać krok w sekwencji zadań.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableWildcardHandling
Ten parametr traktuje symbole wieloznaczne jako wartości literału znaków. Nie można połączyć go z forceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FileDateTimeOperator
Określa operator daty i czasu pliku.
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
Określa ścieżkę pliku.
Type: String
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FileTimestamp
Określa sygnaturę czasową pliku.
Type: DateTime
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FileVersion
Określa wersję pliku.
Type: String
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FolderDateTimeOperator
Określa operator daty i czasu folderu.
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
Określa ścieżkę folderu.
Type: String
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FolderTimestamp
Określa sygnaturę czasową folderu.
Type: DateTime
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ForceWildcardHandling
Ten parametr przetwarza symbole wieloznaczne i może prowadzić do nieoczekiwanego zachowania (nie jest zalecane). Nie można połączyć go z disableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
Określ obiekt sekwencji zadań, w którym chcesz dodać ten krok. Aby uzyskać ten obiekt, użyj polecenia 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
-IsAnyVersion
Wskazuje, czy chcesz dopasować dowolną wersję produktu (tylko kod uaktualnienia). Ten parametr jest używany dla warunku oprogramowania.
Type: Boolean
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsContinueOnError
Ustaw ten parametr na wartość $true, aby włączyć opcję kroku Kontynuuj przy błędzie. Jeśli po włączeniu tej opcji wystąpi błąd podczas tego kroku, sekwencja zadań będzie kontynuowana.
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
Ustaw ten parametr na $false, aby wyłączyć krok w sekwencji zadań. Sekwencja zadań nie uruchamia wyłączonych kroków.
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
Określa kolejność tego kroku. Indeks zamówień jest oparty na 0. Ten parametr musi być używany w połączeniu z StepOrder parametru.
Type: Int32
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MsiFilePath
Określa ścieżkę pliku MSI.
Type: String
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Przestrzeń nazw
Określa przestrzeń nazw usługi WMI. Ten parametr jest używany dla warunku WMI zapytania.
Type: String[]
Parameter Sets: ByValueSetConditionQueryWmi, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NewStepName
Określ nazwę nowego kroku, aby zmienić jego nazwę.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OperatorType
Określa typ operatora.
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
-Query (Zapytanie)
Określa zapytanie.
Type: String
Parameter Sets: ByValueSetConditionQueryWmi, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryKey (Klucz rejestru)
Określa klucz rejestru.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryOperator
Określa operator rejestru.
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
Określa dane wartości rejestru.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegistryValueName (Nazwa_wartości_rejestru)
Określa nazwę wartości rejestru.
Type: String
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionFile
Wskazuje usunięcie warunków typu Właściwości pliku.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionFolder
Wskazuje usunięcie warunków typu Właściwości folderu.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionIfStatement
Wskazuje usunięcie warunków typu If Statement.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionOperatingSystem
Wskazuje usunięcie warunków typu systemu operacyjnego.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionQueryWmi
Wskazuje usunięcie warunków typu WMI zapytania.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionRegistry
Wskazuje usunięcie warunków typu ustawienie rejestru.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionSoftware
Wskazuje usunięcie warunków typu Zainstalowane oprogramowanie.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionVariable
Wskazuje usunięcie warunków typu zmienna sekwencji zadań.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RootKey
Określa klucz główny warunku typu ustawienia rejestru.
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
-SetConditionFile
Wskaż ustawienie wszystkich warunków typu Właściwości pliku.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionFile, ByNameSetConditionFile, ByValueSetConditionFile
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionFolder
Wskaż ustawienie wszystkich warunków typu Właściwości folderu.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionFolder, ByNameSetConditionFolder, ByValueSetConditionFolder
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionIfStatement
Wskazuje ustawienie wszystkich warunków typu If Statement.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionOperatingSystem
Wskaż ustawienie wszystkich warunków typu systemu operacyjnego.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionOperatingSystem, ByIdSetConditionOperatingSystem, ByNameSetConditionOperatingSystem
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionQueryWmi
Wskazuje ustawienie wszystkich warunków typu WMI zapytania.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionQueryWmi, ByIdSetConditionQueryWmi, ByNameSetConditionQueryWmi
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionRegistry
Wskaż ustawienie wszystkich warunków typu Ustawienie rejestru.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionRegistry, ByIdSetConditionRegistry, ByNameSetConditionRegistry
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionSoftware
Wskaż ustawienie wszystkich warunków typu Zainstalowane oprogramowanie.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionVariable
Wskaż ustawienie wszystkich warunków typu Zmienna sekwencji zadań.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionVariable, ByNameSetConditionVariable, ByValueSetConditionVariable
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StatementType
Określa typ instrukcji.
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
-StepName (Nazwa Kroku)
Określ nazwę kroku do skonfigurowania.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StepOrder
Określa kolejność kroku. Jeśli moveToIndex jest określony, należy również określić MoveToIndex parametru.
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 (ObsługiwanyPlatforma)
Określa obsługiwane platformy.
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
Określ identyfikator sekwencji zadań, w której znajduje się ten krok. Ta wartość to standardowy identyfikator pakietu, na przykład XYZ00042
.
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
Określ nazwę sekwencji zadań, w której znajduje się ten krok.
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
Określa typ wartości.
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
Określa operator wersji.
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
Pokazuje, co się stanie po uruchomieniu polecenia cmdlet. Polecenie cmdlet nie jest uruchamiane.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Typowe parametry
To polecenie cmdlet obsługuje typowe parametry: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction i -WarningVariable. Aby uzyskać więcej informacji, zobacz about_CommonParameters.
INPUTS
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
OUTPUTS
System.Object
UWAGI
RELATED LINKS
New-CMTSStepSetDynamicVariable
Get-CMTSStepSetDynamicVariable
Remove-CMTSStepSetDynamicVariable
Informacje o krokach sekwencji zadań — ustawianie zmiennych dynamicznych