Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 4

How to Launch a Interactive Remote Command Prompt

from MOM Operator Console


by Pete Zerger, MCSE (Messaging)
April 2006
We're going to use PSEXEC from Sysinternals.com to launch an interactive command prompt for
the remote computer on the local machine from the MOM Operator Console. Begin by
downloading a copy of PSEXEC and dropping it in the path on your local machine
It's assumed at this point that you have a copy of the MOM Operator Console loaded on your
local workstation. If not, do this now.
Now to create the task
1.
2.
3.
4.

In the MOM Administrator Console, browse to Management Packs, Tasks.


Choose the desired task subgroup (or create a new one).
Right click and select New Task. This will launch the 'Create Task Wizard'
For Task Run Location and Type, select Operator Console and Command Line. Click
Next

5. On the Task Configuration screen:


a. View Type: Alerts
b. Task command line: psexec \\$Computer Name$ cmd
c. Start in: %SYSTEMROOT%\temp
d. Task output behavior: Do not display output

Note the Do not display output. Sounds counter-intuitive perhaps, but prevents the Operator
Console from wrapping your output in the standard read-only window.
6. Click Next

7. On the Task Name and Description, give the task a name and click Finish. Now were
ready to give our new task a try.

8. Open the MOM Operator Console, and select the Alerts View.
9. Highlight the desired target machine. (PSEXEC does require this machine be a trusted
machine where your login has permissions)
10. In the Task Pane, click the Remote Interactive Command Prompt task you just created.

11. BAM! Now you have an interactive command prompt focused on the remote machine.

You might also like