DeviceProcessEvents | where (FolderPath endswith "\\MpCmdRun.exe" or ProcessVersionInfoOriginalFileName =~ "MpCmdRun.exe") and (ProcessCommandLine contains " -RemoveDefinitions" and ProcessCommandLine contains " -All")