Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Remove-CMTSStepPrestartCheck
- Module:
- ConfigurationManager Module
Remove the Check Readiness step from a task sequence.
Syntax
ByValue (Default)
Remove-CMTSStepPrestartCheck
[-InputObject] <IResultObject>
[-StepName <String>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ById
Remove-CMTSStepPrestartCheck
[-TaskSequenceId] <String>
[-StepName <String>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByName
Remove-CMTSStepPrestartCheck
[-TaskSequenceName] <String>
[-StepName <String>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Use this cmdlet to remove an instance of the Check Readiness step from a task sequence.
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 first gets a task sequence object in the $tsOsd variable. It then passes that variable as the input object to remove the Check Readiness step.
$tsNameOsd = "Default OS deployment"
$tsOsd = Get-CMTaskSequence -Name $tsNameOsd -Fast
$tsStepNameCheckReady = "Check Readiness"
Remove-CMTSStepPrestartCheck -InputObject $tsOsd -StepName $tsStepNameCheckReady -Force
Parameters
-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
-Force
Run the command without asking for confirmation.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-InputObject
Specify a task sequence object from which to remove 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
-StepName
Specify the name of the Check Readiness step to remove from the task sequence.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-TaskSequenceId
Specify the package ID of the task sequence from which to remove 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 from which to remove the Check Readiness step.
Parameter properties
| Type: | String |
| Default value: | None |
| 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?
