Set-CMTSStepApplyDriverPackage
SYNOPSIS
Skonfiguruj wystąpienie kroku sekwencji zadań Zastosuj pakiet sterowników.
SYNTAX
ByValue (wartość domyślna)
Set-CMTSStepApplyDriverPackage [-BootCriticalContentUniqueId <String>] [-BootCriticalDriverId <String>]
[-BootCriticalHardwareComponent <String>] [-BootCriticalId <String>] [-BootCriticalInfFile <String>]
[-EnableRecurse <Boolean>] [-EnableUnsignedDriver <Boolean>] [-PackageId <String>]
[-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-CMTSStepApplyDriverPackage [-BootCriticalContentUniqueId <String>] [-BootCriticalDriverId <String>]
[-BootCriticalHardwareComponent <String>] [-BootCriticalId <String>] [-BootCriticalInfFile <String>]
[-EnableRecurse <Boolean>] [-EnableUnsignedDriver <Boolean>] [-PackageId <String>]
[-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>]
Nazwa_użytkownika
Set-CMTSStepApplyDriverPackage [-BootCriticalContentUniqueId <String>] [-BootCriticalDriverId <String>]
[-BootCriticalHardwareComponent <String>] [-BootCriticalId <String>] [-BootCriticalInfFile <String>]
[-EnableRecurse <Boolean>] [-EnableUnsignedDriver <Boolean>] [-PackageId <String>]
[-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-CMTSStepApplyDriverPackage [-Condition <IResultObject[]>] [-SetConditionIfStatement]
[-StatementType <ConditionStatementType>] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionIfStatement
Set-CMTSStepApplyDriverPackage [-Condition <IResultObject[]>] [-SetConditionIfStatement]
[-StatementType <ConditionStatementType>] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionIfStatement
Set-CMTSStepApplyDriverPackage [-Condition <IResultObject[]>] -InputObject <IResultObject>
[-SetConditionIfStatement] [-StatementType <ConditionStatementType>] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionVariable
Set-CMTSStepApplyDriverPackage [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
[-OperatorType <VariableOperatorType>] [-SetConditionVariable] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionVariable
Set-CMTSStepApplyDriverPackage [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
[-OperatorType <VariableOperatorType>] [-SetConditionVariable] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionVariable
Set-CMTSStepApplyDriverPackage [-ConditionVariableName <String>] [-ConditionVariableValue <String>]
-InputObject <IResultObject> [-OperatorType <VariableOperatorType>] [-SetConditionVariable]
[-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
ByIdSetConditionFile
Set-CMTSStepApplyDriverPackage [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile] [-StepName <String>]
-TaskSequenceId <String> [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionFile
Set-CMTSStepApplyDriverPackage [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] [-SetConditionFile] [-StepName <String>]
-TaskSequenceName <String> [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionFile
Set-CMTSStepApplyDriverPackage [-FileDateTimeOperator <VariableOperatorType>] [-FilePath <String>]
[-FileTimestamp <DateTime>] [-FileVersion <String>] -InputObject <IResultObject> [-SetConditionFile]
[-StepName <String>] [-VersionOperator <VariableOperatorType>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionFolder
Set-CMTSStepApplyDriverPackage [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>] -TaskSequenceId <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionFolder
Set-CMTSStepApplyDriverPackage [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] [-SetConditionFolder] [-StepName <String>] -TaskSequenceName <String>
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionFolder
Set-CMTSStepApplyDriverPackage [-FolderDateTimeOperator <VariableOperatorType>] [-FolderPath <String>]
[-FolderTimestamp <DateTime>] -InputObject <IResultObject> [-SetConditionFolder] [-StepName <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionQueryWmi
Set-CMTSStepApplyDriverPackage -InputObject <IResultObject> [-Namespace <String[]>] [-Query <String>]
[-SetConditionQueryWmi] [-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByValueSetConditionOperatingSystem
Set-CMTSStepApplyDriverPackage -InputObject <IResultObject> [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByValueSetConditionRegistry
Set-CMTSStepApplyDriverPackage -InputObject <IResultObject> [-RegistryKey <String>]
[-RegistryOperator <VariableOperatorType>] [-RegistryValueData <String>] [-RegistryValueName <String>]
[-RootKey <RegistryRootKeyType>] [-SetConditionRegistry] [-StepName <String>] [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByValueSetConditionSoftware
Set-CMTSStepApplyDriverPackage -InputObject <IResultObject> [-IsAnyVersion <Boolean>] [-MsiFilePath <String>]
[-SetConditionSoftware] [-StepName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionSoftware
Set-CMTSStepApplyDriverPackage [-IsAnyVersion <Boolean>] [-MsiFilePath <String>] [-SetConditionSoftware]
[-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByNameSetConditionSoftware
Set-CMTSStepApplyDriverPackage [-IsAnyVersion <Boolean>] [-MsiFilePath <String>] [-SetConditionSoftware]
[-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionQueryWmi
Set-CMTSStepApplyDriverPackage [-Namespace <String[]>] [-Query <String>] [-SetConditionQueryWmi]
[-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByNameSetConditionQueryWmi
Set-CMTSStepApplyDriverPackage [-Namespace <String[]>] [-Query <String>] [-SetConditionQueryWmi]
[-StepName <String>] -TaskSequenceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByIdSetConditionRegistry
Set-CMTSStepApplyDriverPackage [-RegistryKey <String>] [-RegistryOperator <VariableOperatorType>]
[-RegistryValueData <String>] [-RegistryValueName <String>] [-RootKey <RegistryRootKeyType>]
[-SetConditionRegistry] [-StepName <String>] -TaskSequenceId <String> [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionRegistry
Set-CMTSStepApplyDriverPackage [-RegistryKey <String>] [-RegistryOperator <VariableOperatorType>]
[-RegistryValueData <String>] [-RegistryValueName <String>] [-RootKey <RegistryRootKeyType>]
[-SetConditionRegistry] [-StepName <String>] -TaskSequenceName <String> [-ValueType <RegistryValueType>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByIdSetConditionOperatingSystem
Set-CMTSStepApplyDriverPackage [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] -TaskSequenceId <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
ByNameSetConditionOperatingSystem
Set-CMTSStepApplyDriverPackage [-SetConditionOperatingSystem] [-StepName <String>]
[-SupportedPlatform <IResultObject[]>] -TaskSequenceName <String> [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
To polecenie cmdlet umożliwia skonfigurowanie wystąpienia kroku sekwencji zadań Zastosuj pakiet sterowników.
Aby uzyskać więcej informacji na temat tego kroku, zobacz Informacje o krokach sekwencji zadań: Stosowanie pakietu sterowników.
Uwaga
Uruchom Menedżer konfiguracji cmdlet z dysku Menedżer konfiguracji lokacji, na przykład PS XYZ:\>
. Aby uzyskać więcej informacji, zobacz wprowadzenie.
EXAMPLES
Przykład 1
W tym przykładzie zmienia się krok Zastosuj pakiet sterowników w sekwencji zadań domyślnego wdrożenia systemu operacyjnego, aby włączyć rekursję DISM i wyłączyć niepodpisane sterowniki.
$tsName = "Default OS deployment"
$tsStepNameApplyDvrPkg = "Apply driver package"
Set-CMTSStepApplyDriverPackage -TaskSequenceName $tsName -StepName $tsStepNameApplyDvrPkg -EnableRecurse $true -EnableUnsignedDriver $false
PARAMETERS
-AddCondition
Określ obiekt warunku do dodania do tego kroku. Aby uzyskać ten obiekt, użyj jednego z polecenia cmdlet warunku sekwencji zadań. Na przykład 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
-BootCriticalContentUniqueId
Ten parametr jest przestarzały, ma zastosowanie tylko do wersji Windows systemu operacyjnego Vista.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-BootCriticalDriverId
Ten parametr jest przestarzały, ma zastosowanie tylko do wersji Windows systemu operacyjnego Vista.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-BootCriticalHardwareComponent
Ten parametr jest przestarzały, ma zastosowanie tylko do wersji Windows systemu operacyjnego Vista.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-BootCriticalId
Ten parametr jest przestarzały, ma zastosowanie tylko do wersji Windows systemu operacyjnego Vista.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-BootCriticalInfFile
Ten parametr jest przestarzały, ma zastosowanie tylko do wersji Windows systemu operacyjnego Vista.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ClearCondition
Usuń warunek z tego kroku. Użyj parametru -Condition, aby określić warunek do usunięcia.
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śl obiekt warunku do użycia w tym kroku. Aby uzyskać ten obiekt, użyj jednego z polecenia cmdlet warunku sekwencji zadań. Na przykład Get-CMTSStepConditionVariable.
Type: IResultObject[]
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement
Aliases: SubCondition, SubConditions
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ConditionVariableName
Określ nazwę zmiennej sekwencji zadań do użycia jako warunek.
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śl wartość zmiennej sekwencji zadań do użycia w 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 tego kroku 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
-EnableRecurse
Ustaw ten parametr na $true
, aby zainstalować pakiet sterowników, uruchamiając program DISM z opcją recurse.
Type: Boolean
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnableUnsignedDriver
Ustaw ten parametr na , aby wykonać nienadzorowane instalowanie niepodpisanych sterowników w wersji $true
programu Windows gdzie ta akcja jest dozwolona.
Type: Boolean
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FileDateTimeOperator
Określ typ operatora zmiennej dla warunku daty/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śl ścieżkę warunku 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śl wartość daty/czasu do użycia dla warunku 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śl ciąg wersji dla warunku 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śl operator zmiennej dla warunku daty/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śl ścieżkę warunku 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śl wartość daty/czasu do użycia dla warunku 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ń z krokiem Zastosuj pakiet sterowników do skonfigurowania. 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
Użyj tego parametru z parametrem SetConditionSoftware, aby dopasować dowolną wersję produktu.
Type: Boolean
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsContinueOnError
Użyj tego parametru, aby włączyć opcję kroku Kontynuuj przy błędzie. Jeśli ta opcja zostanie włączyć, jeśli krok zakończy się niepowodzeniem, 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
Użyj tego parametru, aby włączyć ten krok sekwencji zadań.
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
Przenieś ten krok do określonej pozycji indeksu w sekwencji zadań.
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śl ścieżkę do pliku Windows instalatora dla warunku oprogramowania.
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śl przestrzeń nazw dla warunku zapytania usługi 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
Użyj tego parametru, aby zmienić nazwę tego kroku 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
-OperatorType
Określ operator do użycia z warunkiem zmiennej sekwencji zadań.
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
-PackageId
Określ identyfikator pakietu sterowników dla tego kroku do zastosowania. Ta wartość to standardowy identyfikator pakietu, na przykład XYZ0030D
.
Type: String
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Query (Zapytanie)
Określ ciąg zapytania WMI do użycia dla warunku.
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śl klucz do użycia z warunkiem 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śl operator do użycia z warunkiem 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śl dane wartości do użycia z warunkiem 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
Określ nazwę wartości do użycia z warunkiem 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
Użyj tego parametru, aby usunąć warunek 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
Użyj tego parametru, aby usunąć warunek 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
Użyj tego parametru, aby usunąć if
warunek instrukcji .
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionOperatingSystem
Użyj tego parametru, aby usunąć warunek 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
Użyj tego parametru, aby usunąć warunek zapytania WMI.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionRegistry
Użyj tego parametru, aby usunąć warunek 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
Użyj tego parametru, aby usunąć warunek oprogramowania.
Type: SwitchParameter
Parameter Sets: ByValue, ById, ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveConditionVariable
Użyj tego parametru, aby usunąć warunek zmiennej 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śl klucz główny do użycia z warunkiem 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
Dodaj nowy warunek 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
Dodaj nowy warunek 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
Dodaj nowy if
warunek instrukcji.
Type: SwitchParameter
Parameter Sets: ByIdSetConditionIfStatement, ByNameSetConditionIfStatement, ByValueSetConditionIfStatement
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionOperatingSystem
Dodaj nowy warunek 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
Dodaj nowy warunek zapytania 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
Dodaj nowy warunek 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
Dodaj nowy warunek oprogramowania.
Type: SwitchParameter
Parameter Sets: ByValueSetConditionSoftware, ByIdSetConditionSoftware, ByNameSetConditionSoftware
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetConditionVariable
Dodaj nowy warunek zmiennej 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
Ustaw typ warunku if
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
Określ nazwę kroku do wybrania dla zmian.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StepOrder
Ten parametr umożliwia zmianę kolejności kroków w sekwencji zadań.
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)
Użyj tego parametru, aby określić platformy dla warunku systemu operacyjnego.
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 pakietu sekwencji zadań w kroku Zastosuj pakiet sterowników do skonfigurowania. Ta wartość to standardowy identyfikator pakietu, na przykład XYZ00858
.
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ń, która ma być docelowa dla zmian.
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śl typ wartości warunku rejestru.
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śl operator do użycia z warunkiem 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
-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
Get-CMTSStepApplyDriverPackage New-CMTSStepApplyDriverPackage Remove-CMTSStepApplyDriverPackage
Informacje o krokach sekwencji zadań: Stosowanie pakietu sterowników