Stop MdeMachineAction - Visorian/PSMDE GitHub Wiki
external help file: PSMDE-help.xml Module Name: PSMDE online version: https://learn.microsoft.com/en-us/microsoft-365/security/... schema: 2.0.0
Cancel an already launched machine action.
Stop-MdeMachineAction [-id] <String> [-comment] <String> [<CommonParameters>]
Cancel an already launched machine action that is not yet in final state (completed, canceled, failed). The necessary API permission (scope) depends on the type of machine action to be stopped.
Remove-MdeMachine -id "MACHINE_ACTION_ID" -comment "Your comment"
Specifies the id of the target MDE machine action.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Comment to associate with the cancellation action.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Jan-Henrik Damaschke
https://learn.microsoft.com/en-us/microsoft-365/security/...