Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to Create a Task

Updated: December 1, 2010

Applies To: System Center Service Manager 2010 SP1

Use the following procedure to create a task; for example, a task that you can use to open Event Viewer and view logs on a computer. The Event Viewer displays the logs from the remote computer that is listed as a Configuration Item in the incident.

To create a task

  1. In the Service Manager console, click Library.

  2. On the Library pane, expand Library, and then select Tasks.

  3. On the Tasks pane, select Create Task.

  4. On the Before You Begin page, click Next.

  5. On the General page, perform the following:

    1. In the Task name box, type a name for the task. For example, type Event Viewer.

      noteNote
      In this release, if you edit and change any of the properties of a task, you have to close and reopen the console before you can view the task.

    2. Next to the Target class area, click the ellipsis button ().

    3. In the Choose Class dialog box, in the Class list, click Incident, and then click OK.

    4. In the Management pack list, make sure that Service Manager Incident Management Configuration Library is selected, and then click Next.

      noteNote
      In this release, if you select the option to create a new management pack, you have to close and reopen the console before you can view this task.

  6. On the Display Task by Category page, select the category where the task will be displayed. For example, select Incident Management Folder Tasks, and then click Next.

  7. On the Command Line page, do the following:

    1. In the Full path to command box, type the full path of the command you want to run with this task. For example, type %windir%\system32\eventvwr.exe.

    2. In the Parameters area, click Insert Property.

    3. In the Select Property dialog box, in the Related classes list, expand Incident, and then click Is Related to Configuration Item.

    4. In the Available Properties box, type Computer Name.

    5. Under Windows Computer, click NetBIOS Computer Name, and then click Add.

    6. Optionally, select Log in action log when this task is run to add information to the incident action log when the task runs, and then click Next.

  8. On the Summary page, click Create.

  9. On the Completion page, observe that The new task was created successfully appears, and then click Close.

To validate a new task

  1. In the Service Manager console, click Work Items.

  2. In the Work Items pane, expand Work Items, expand Incident Management, and then click All Incidents.

  3. In the All Incidents pane, click an incident for which a computer name has been entered as a configuration item.

  4. In the Tasks pane, under the name of the incident you selected in the previous step, click Event Viewer.

  5. Notice that the Event Viewer starts, and the events from the computer associated with the incident are displayed.

Did you find this information helpful? Please send your suggestions and comments about System Center Service Manager documentation to scsmdocs@microsoft.com.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.