Run Batch File for SCOM Monitor’s Recovery Task

This is how I configured recovery task to run a batch file:

Actions Module Type: System.CommandExecuter

Module Configuration

Application Name: C:\Windows\System32\cmd.exe

Working Directory: C:\Windows\System32

CommandLine: /c <Path to Batch file> (i.e. /c C:\Apps\DelFile.bat)

TimeoutSeconds: <i.e. 60>

RequiredOutput: true

 

 

Leave a Reply

%d bloggers like this: