Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Set-CMTSStepPrestartCheck

Configure an instance of the Check Readiness task sequence step.

Syntax

ByValue (Default)

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-CheckCMClientMinVersion <Boolean>]
 [-CheckMaxOSVersion <Boolean>]
 [-CheckMemory <Boolean>]
 [-CheckMinOSVersion <Boolean>]
 [-CheckNetworkConnected <Boolean>]
 [-CheckNetworkWired <Boolean>]
 [-CheckTpmEnabled <Boolean>]
 [-CheckTpmActivated <Boolean>]
 [-CheckOS <Boolean>]
 [-CheckOSArchitecture <Boolean>]
 [-CheckOSLanguageId <Boolean>]
 [-CheckPowerState <Boolean>]
 [-CheckSpace <Boolean>]
 [-CheckSpeed <Boolean>]
 [-CheckUefi <Boolean>]
 [-CMClientMinVersion <String>]
 [-DiskSpace <Int32>]
 [-MaxOSVersion <String>]
 [-Memory <Int32>]
 [-MinOSVersion <String>]
 [-OS <OSType>]
 [-OSArchitecture <OSArch>]
 [-OSLanguageId <Int32>]
 [-Speed <Int32>]
 [-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>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ById

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-CheckCMClientMinVersion <Boolean>]
 [-CheckMaxOSVersion <Boolean>]
 [-CheckMemory <Boolean>]
 [-CheckMinOSVersion <Boolean>]
 [-CheckNetworkConnected <Boolean>]
 [-CheckNetworkWired <Boolean>]
 [-CheckTpmEnabled <Boolean>]
 [-CheckTpmActivated <Boolean>]
 [-CheckOS <Boolean>]
 [-CheckOSArchitecture <Boolean>]
 [-CheckOSLanguageId <Boolean>]
 [-CheckPowerState <Boolean>]
 [-CheckSpace <Boolean>]
 [-CheckSpeed <Boolean>]
 [-CheckUefi <Boolean>]
 [-CMClientMinVersion <String>]
 [-DiskSpace <Int32>]
 [-MaxOSVersion <String>]
 [-Memory <Int32>]
 [-MinOSVersion <String>]
 [-OS <OSType>]
 [-OSArchitecture <OSArch>]
 [-OSLanguageId <Int32>]
 [-Speed <Int32>]
 [-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>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByName

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-CheckCMClientMinVersion <Boolean>]
 [-CheckMaxOSVersion <Boolean>]
 [-CheckMemory <Boolean>]
 [-CheckMinOSVersion <Boolean>]
 [-CheckNetworkConnected <Boolean>]
 [-CheckNetworkWired <Boolean>]
 [-CheckTpmEnabled <Boolean>]
 [-CheckTpmActivated <Boolean>]
 [-CheckOS <Boolean>]
 [-CheckOSArchitecture <Boolean>]
 [-CheckOSLanguageId <Boolean>]
 [-CheckPowerState <Boolean>]
 [-CheckSpace <Boolean>]
 [-CheckSpeed <Boolean>]
 [-CheckUefi <Boolean>]
 [-CMClientMinVersion <String>]
 [-DiskSpace <Int32>]
 [-MaxOSVersion <String>]
 [-Memory <Int32>]
 [-MinOSVersion <String>]
 [-OS <OSType>]
 [-OSArchitecture <OSArch>]
 [-OSLanguageId <Int32>]
 [-Speed <Int32>]
 [-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>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionIfStatement

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-Condition <IResultObject[]>]
 [-SetConditionIfStatement]
 [-StatementType <ConditionStatementType>]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionIfStatement

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-Condition <IResultObject[]>]
 [-SetConditionIfStatement]
 [-StatementType <ConditionStatementType>]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionIfStatement

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-Condition <IResultObject[]>]
 [-SetConditionIfStatement]
 [-StatementType <ConditionStatementType>]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionVariable

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-ConditionVariableName <String>]
 [-ConditionVariableValue <String>]
 [-OperatorType <VariableOperatorType>]
 [-SetConditionVariable]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionVariable

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-ConditionVariableName <String>]
 [-ConditionVariableValue <String>]
 [-OperatorType <VariableOperatorType>]
 [-SetConditionVariable]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionVariable

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-ConditionVariableName <String>]
 [-ConditionVariableValue <String>]
 [-OperatorType <VariableOperatorType>]
 [-SetConditionVariable]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionFile

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-FileDateTimeOperator <VariableOperatorType>]
 [-FilePath <String>]
 [-FileTimestamp <DateTime>]
 [-FileVersion <String>]
 [-SetConditionFile]
 [-StepName <String>]
 [-VersionOperator <VariableOperatorType>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionFile

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-FileDateTimeOperator <VariableOperatorType>]
 [-FilePath <String>]
 [-FileTimestamp <DateTime>]
 [-FileVersion <String>]
 [-SetConditionFile]
 [-StepName <String>]
 [-VersionOperator <VariableOperatorType>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionFile

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-FileDateTimeOperator <VariableOperatorType>]
 [-FilePath <String>]
 [-FileTimestamp <DateTime>]
 [-FileVersion <String>]
 [-SetConditionFile]
 [-StepName <String>]
 [-VersionOperator <VariableOperatorType>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionFolder

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-FolderDateTimeOperator <VariableOperatorType>]
 [-FolderPath <String>]
 [-FolderTimestamp <DateTime>]
 [-SetConditionFolder]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionFolder

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-FolderDateTimeOperator <VariableOperatorType>]
 [-FolderPath <String>]
 [-FolderTimestamp <DateTime>]
 [-SetConditionFolder]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionFolder

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-FolderDateTimeOperator <VariableOperatorType>]
 [-FolderPath <String>]
 [-FolderTimestamp <DateTime>]
 [-SetConditionFolder]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionQueryWmi

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-Namespace <String[]>]
 [-Query <String>]
 [-SetConditionQueryWmi]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionOperatingSystem

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-SetConditionOperatingSystem]
 [-StepName <String>]
 [-SupportedPlatform <IResultObject[]>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionRegistry

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-RegistryKey <String>]
 [-RegistryOperator <VariableOperatorType>]
 [-RegistryValueData <String>]
 [-RegistryValueName <String>]
 [-RootKey <RegistryRootKeyType>]
 [-SetConditionRegistry]
 [-StepName <String>]
 [-ValueType <RegistryValueType>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByValueSetConditionSoftware

Set-CMTSStepPrestartCheck
 -InputObject <IResultObject>
 [-IsAnyVersion <Boolean>]
 [-MsiFilePath <String>]
 [-SetConditionSoftware]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionSoftware

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-IsAnyVersion <Boolean>]
 [-MsiFilePath <String>]
 [-SetConditionSoftware]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionSoftware

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-IsAnyVersion <Boolean>]
 [-MsiFilePath <String>]
 [-SetConditionSoftware]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionQueryWmi

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-Namespace <String[]>]
 [-Query <String>]
 [-SetConditionQueryWmi]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionQueryWmi

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-Namespace <String[]>]
 [-Query <String>]
 [-SetConditionQueryWmi]
 [-StepName <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionRegistry

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-RegistryKey <String>]
 [-RegistryOperator <VariableOperatorType>]
 [-RegistryValueData <String>]
 [-RegistryValueName <String>]
 [-RootKey <RegistryRootKeyType>]
 [-SetConditionRegistry]
 [-StepName <String>]
 [-ValueType <RegistryValueType>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionRegistry

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-RegistryKey <String>]
 [-RegistryOperator <VariableOperatorType>]
 [-RegistryValueData <String>]
 [-RegistryValueName <String>]
 [-RootKey <RegistryRootKeyType>]
 [-SetConditionRegistry]
 [-StepName <String>]
 [-ValueType <RegistryValueType>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByIdSetConditionOperatingSystem

Set-CMTSStepPrestartCheck
 -TaskSequenceId <String>
 [-SetConditionOperatingSystem]
 [-StepName <String>]
 [-SupportedPlatform <IResultObject[]>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

ByNameSetConditionOperatingSystem

Set-CMTSStepPrestartCheck
 -TaskSequenceName <String>
 [-SetConditionOperatingSystem]
 [-StepName <String>]
 [-SupportedPlatform <IResultObject[]>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

Description

Use this cmdlet to configure an instance of the Check Readiness task sequence step.

For more information on this step, see About task sequence steps: Check Readiness.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1

This example changes the Check Readiness step in the Default OS deployment task sequence to disable the checks for AC power and wired network.

$tsNameOsd = "Default OS deployment"
$tsStepNameCheckReady = "Check Readiness"

Set-CMTSStepPrestartCheck -TaskSequenceName $tsNameOsd -StepName $tsStepNameCheckReady -CheckPowerState $false -CheckNetworkWired $false

Parameters

-AddCondition

Specify a condition object to add to this step. To get this object, use one of the task sequence condition cmdlets. For example, Get-CMTSStepConditionVariable.

Parameter properties

Type:

IResultObject[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:AddConditions

Parameter sets

-CheckCMClientMinVersion

Set this parameter to $true to enable the Minimum client version check. Use the parameter CMClientMinVersion to set the specific client version number.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CheckClientMinVersion

Parameter sets

-CheckMaxOSVersion

Set this parameter to $true to enable the Maximum OS version check. Use the parameter MaxOSVersion to set the specific OS version number.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-CheckMemory

Set this parameter to $true to enable the Minimum memory (MB) check. Use the parameter Memory to set the specific memory size.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:EnableCheckMemory

Parameter sets

-CheckMinOSVersion

Set this parameter to $true to enable the Minimum OS version check. Use the parameter MinOSVersion to set the specific OS version number.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-CheckNetworkConnected

Set this parameter to $true to enable the Network adapter connected check.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:NetworkConnected

Parameter sets

-CheckNetworkWired

Set this parameter to $true to enable the Network adapter is not wireless check.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:NetworkWired

Parameter sets

-CheckOS

Set this parameter to $true to enable the check for the type of OS, either client or server. Use the parameter OS to set the specific OS type.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:EnableCheckOSType

Parameter sets

-CheckOSArchitecture

Set this parameter to $true to enable the Architecture of current OS check. Use the parameter OSArchitecture to set the specific architecture type.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-CheckOSLanguageId

Set this parameter to $true to enable the check of the Language of current OS. Use the parameter OSLanguageID to set the specific language.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:EnableCheckOSLanguageId

Parameter sets

-CheckPowerState

Set this parameter to $true to enable the AC power plugged in check.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:NotBattery

Parameter sets

-CheckSpace

Set this parameter to $true to enable the Minimum free disk space (MB) check. Use the parameter DiskSpace to set the specific size.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:EnableCheckFreeDiskSpace

Parameter sets

-CheckSpeed

Set this parameter to $true to enable the Minimum processor speed (MHz) check. Use the parameter Speed to set the specific speed.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:EnableCheckProcessorSpeed

Parameter sets

-CheckTpmActivated

Applies to version 2111 and later. Set this parameter to $true to enable the TPM 2.0 or above is activated check.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:TpmActivated

Parameter sets

-CheckTpmEnabled

Applies to version 2111 and later. Set this parameter to $true to enable the TPM 2.0 or above is enabled check.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:TpmEnabled

Parameter sets

-CheckUefi

Applies to version 2006 and later. Set this parameter to $true to enable the Computer is in UEFI mode check.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ClearCondition

Remove a condition from this step. Use the -Condition parameter to specify the condition to remove.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ClearConditions

Parameter sets

-CMClientMinVersion

Use this parameter to configure the specific client version. Specify the client version in the following format: 5.00.8913.1005. Use the parameter CheckCMClientMinVersion to enable or disable the check.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ClientMinVersion

Parameter sets

-Condition

Specify a condition object to use with this step. To get this object, use one of the task sequence condition cmdlets. For example, Get-CMTSStepConditionVariable.

Parameter properties

Type:

IResultObject[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:SubCondition, SubConditions

Parameter sets

-ConditionVariableName

Specify the name of the task sequence variable to use as a condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Variable

Parameter sets

-ConditionVariableValue

Specify the value of the task sequence variable to use in a condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Value

Parameter sets

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-Description

Specify an optional description for this task sequence step.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-DiskSpace

Use this parameter to configure the specific size for the minimum free disk space check. Specify an integer value for the size in MB. Use the parameter CheckSpace to enable or disable the check.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:MinimumFreeDiskSpace

Parameter sets

-FileDateTimeOperator

Specify a variable operator type for a file date/time condition.

Parameter properties

Type:VariableOperatorType
Default value:None
Accepted values:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Supports wildcards:False
DontShow:False

Parameter sets

-FilePath

Specify the path for a file condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-FileTimestamp

Specify a date/time value to use for a file condition.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-FileVersion

Specify a version string for a file condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-FolderDateTimeOperator

Specify a variable operator for a folder date/time condition.

Parameter properties

Type:VariableOperatorType
Default value:None
Accepted values:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Supports wildcards:False
DontShow:False

Parameter sets

-FolderPath

Specify the path for a folder condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-FolderTimestamp

Specify a date/time value to use for a folder condition.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-InputObject

Specify a task sequence object from which to get the Check Readiness step. To get this object, use the Get-CMTaskSequence cmdlet.

Parameter properties

Type:IResultObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:TaskSequence

Parameter sets

-IsAnyVersion

Use this parameter with the SetConditionSoftware parameter to match any version of the product.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-IsContinueOnError

Use this parameter to enable the step option Continue on error. When you enable this option, if the step fails, the task sequence continues.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:IsThisStepContinueOnError

Parameter sets

-IsEnabled

Use this parameter to enable this task sequence step.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:IsThisStepEnabled

Parameter sets

-MaxOSVersion

Use this parameter to configure the specific OS version. Specify the maximum OS version with major version, minor version, and build number. For example, 10.0.18356. Use the parameter CheckMaxOSVersion to enable or disable the check.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CurrentMaxOSVersion

Parameter sets

-Memory

Use this parameter to configure the specific size for the minimum memory check. Specify an integer value for the size in MB. Use the parameter CheckMemory to enable or disable the check.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:MinimumMemory

Parameter sets

-MinOSVersion

Use this parameter to configure the specific OS version. Specify the minimum OS version with major version, minor version, and build number. For example, 10.0.16299. Use the parameter CheckMinOSVersion to enable or disable the check.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CurrentMinOSVersion

Parameter sets

-MoveToIndex

Move this step to the specified index position in the task sequence.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-MsiFilePath

Specify the path to a Windows Installer file for a software condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Namespace

Specify the namespace for a WMI query condition.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-NewStepName

Use this parameter to rename this task sequence step.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-OperatorType

Specify an operator to use with a task sequence variable condition.

Parameter properties

Type:VariableOperatorType
Default value:None
Accepted values:Exists, NotExists, Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual, Like, NotLike
Supports wildcards:False
DontShow:False

Parameter sets

-OS

Use this parameter to configure the specific OS type: Client or Server. Use the parameter CheckOS to enable or disable the check.

Parameter properties

Type:OSType
Default value:None
Accepted values:Client, Server
Supports wildcards:False
DontShow:False
Aliases:CurrentOSType

Parameter sets

-OSArchitecture

Use this parameter to configure the specific OS architecture: Arch32 for 32-bit or Arch64 for 64-bit. Use the parameter CheckOSArchitecture to enable or disable the check.

Parameter properties

Type:OSArch
Default value:None
Accepted values:Arch32, Arch64
Supports wildcards:False
DontShow:False
Aliases:CurrentOSArchitecture

Parameter sets

-OSLanguageId

Use this parameter to configure the specific OS language. This check compares the language ID to the OSLanguage property of the Win32_OperatingSystem WMI class on the client. For example, 1033 for English (United States). Use the parameter CheckOSLanguageId to enable or disable the check.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:LanguageId

Parameter sets

-Query

Specify a WMI query string to use for a condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RegistryKey

Specify the key to use with a registry condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RegistryOperator

Specify an operator to use with a registry condition.

Parameter properties

Type:VariableOperatorType
Default value:None
Accepted values:Exists, NotExists, Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Supports wildcards:False
DontShow:False

Parameter sets

-RegistryValueData

Specify the value data to use with a registry condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RegistryValueName

Specify the value name to use with a registry condition.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionFile

Use this parameter to remove a file condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionFolder

Use this parameter to remove a folder condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionIfStatement

Use this parameter to remove an if statement condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionOperatingSystem

Use this parameter to remove an OS condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionQueryWmi

Use this parameter to remove a WMI query condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionRegistry

Use this parameter to remove a registry condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionSoftware

Use this parameter to remove a software condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RemoveConditionVariable

Use this parameter to remove a task sequence variable condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-RootKey

Specify the root key to use with a registry condition.

Parameter properties

Type:RegistryRootKeyType
Default value:None
Accepted values:HKeyCurrentUser, HKeyLocalMachine, HKeyUsers, HKeyCurrentConfig
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionFile

Add a new file condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionFolder

Add a new folder condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionIfStatement

Add a new if statement condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionOperatingSystem

Add a new OS condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionQueryWmi

Add a new WMI query condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionRegistry

Add a new registry condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionSoftware

Add a new software condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SetConditionVariable

Add a new task sequence variable condition.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Speed

Use this parameter to configure the specific speed for the minimum processor speed check. Specify an integer value for the speed in MHz. Use the parameter CheckSpeed to enable or disable the check.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:MinimumProcessorSpeed

Parameter sets

-StatementType

Set the type for an if statement condition.

Parameter properties

Type:ConditionStatementType
Default value:None
Accepted values:All, Any, None
Supports wildcards:False
DontShow:False
Aliases:Operator

Parameter sets

-StepName

Specify the name of the step to select for changes.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-StepOrder

Use this parameter to reorder the step in the task sequence.

Parameter properties

Type:ReorderType
Default value:None
Accepted values:MoveUp, MoveDown, MoveToIndex
Supports wildcards:False
DontShow:False

Parameter sets

-SupportedPlatform

Use this parameter to specify the platforms for an OS condition.

Parameter properties

Type:

IResultObject[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:SupportedPlatforms

Parameter sets

-TaskSequenceId

Specify the package ID of the task sequence from which to get the Check Readiness step. This value is a standard package ID, for example XYZ00858.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Id, TaskSequencePackageId

Parameter sets

-TaskSequenceName

Specify the name of the task sequence to target for changes.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ValueType

Specify the type of value for a registry condition.

Parameter properties

Type:RegistryValueType
Default value:None
Accepted values:RegistrySZ, RegistryExpandSZ, RegistryDWord
Supports wildcards:False
DontShow:False

Parameter sets

-VersionOperator

Specify an operator to use with a file condition.

Parameter properties

Type:VariableOperatorType
Default value:None
Accepted values:Equals, NotEquals, Greater, GreaterEqual, Less, LessEqual
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object

Related Links


Feedback

Was this page helpful?