Remove-SCSMDCMWorkflow
Service Manager DCM 워크플로를 제거합니다.
Syntax
Remove-SCSMDCMWorkflow
[-Workflow] <DCMWorkflow[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Remove-SCSMDCMWorkflow cmdlet은 Service Manager DCM(Desired Configuration Management) 워크플로를 제거합니다.
예제
예제 1: 워크플로 제거
The first command gets the workflows that match the specified display name by using the Get-SCSMDCMWorkflow cmdlet. The cmdlet displays the results.
PS C:\>Get-SCSMDCMWorkflow -DisplayName "MyDCM*"
DisplayName Description Enabled
----------- ----------- -------
MyDCMWorkflow This is a description False
The second command passes the results of the **Get-SCSMDCMWorkflow** cmdlet to the current cmdlet by using the pipeline operator. The command removes the workflow.
PS C:\>Get-SCSMDCMWorkflow -DisplayName "MyDCM*" | Remove-SCSMDCMWorkflow
The final command repeats the first command. The results show that the workflow has been deleted.
PS C:\>Get-SCSMDCMWorkflow -DisplayName "MyDCM*"
이 예제에서는 DCM 워크플로를 제거합니다.
매개 변수
-Confirm
cmdlet을 실행하기 전에 확인을 요청합니다.
Type: | System.Management.Automation.SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
cmdlet을 실행할 경우 발생하는 일을 표시합니다. cmdlet은 실행되지 않습니다.
Type: | System.Management.Automation.SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Workflow
DCM 워크플로의 인스턴스를 지정합니다.
Type: | Microsoft.EnterpriseManagement.ServiceManager.Sdk.Workflows.DCMWorkflow[] |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
입력
Microsoft.EnterpriseManagement.ServiceManager.Sdk.Workflows.DCMWorkflow
Service Manager DCM 워크플로를 워크플로 매개 변수로 파이프할 수 있습니다.
출력
None.
이 cmdlet은 어떠한 출력도 생성하지 않습니다.