Remove-CMTSStepReboot (英文)Remove-CMTSStepReboot

概要SYNOPSIS

移除 TS 步驟重新開機Removes a TS step reboot

SYNTAXSYNTAX

ByValue (預設) ByValue (Default)

Remove-CMTSStepReboot [-InputObject] <IResultObject> [-StepName <String>] [-Force] [-WhatIf] [-Confirm]
 [<CommonParameters>]

ByIdById

Remove-CMTSStepReboot [-TaskSequenceId] <String> [-StepName <String>] [-Force] [-WhatIf] [-Confirm]
 [<CommonParameters>]

ByNameByName

Remove-CMTSStepReboot [-TaskSequenceName] <String> [-StepName <String>] [-Force] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTIONDESCRIPTION

注意

Configuration Manager Cmdlet 必須從 Configuration Manager 的網站磁片磁碟機執行。Configuration Manager cmdlets must be run from the Configuration Manager site drive. 本文中的範例會使用網站名稱 XYZThe examples in this article use the site name XYZ . 如需詳細資訊,請參閱使用者入門檔。For more information, see the getting started documentation.

範例EXAMPLES

範例 1Example 1

PS XYZ:\>

PARAMETERSPARAMETERS

-Confirm-Confirm

在執行 Cmdlet 前提示您確認。Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force-Force

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject-InputObject

Type: IResultObject
Parameter Sets: ByValue
Aliases: TaskSequence

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-StepName-StepName

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

->tasksequenceid-TaskSequenceId

Type: String
Parameter Sets: ById
Aliases: Id, TaskSequencePackageId

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TaskSequenceName-TaskSequenceName

Type: String
Parameter Sets: ByName
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf-WhatIf

顯示執行 Cmdlet 後會發生的情況。Shows what would happen if the cmdlet runs. Cmdlet 並不會執行。The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParametersCommonParameters

這個 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutVariable、-OutBuffer、-PipelineVariable、-Verbose、-WarningAction 和 -WarningVariable。This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. 如需詳細資訊,請參閱 about_CommonParametersFor more information, see about_CommonParameters.

輸入INPUTS

Microsoft.ConfigurationManagement. ManagementProvider. IResultObjectMicrosoft.ConfigurationManagement.ManagementProvider.IResultObject

輸出OUTPUTS

System.ObjectSystem.Object

注意NOTES