Using SMLets to delete a work item

In this recipe, we will take a look at how you can use SMLets to delete a work item. This is something that you cannot perform from the console for several reasons. One of them being that this goes against all the rules of ITIL.

So why would someone need to delete a work item? Well, you might have created a couple of test work items to verify the production environment or to test a workflow, or something similar.

Getting ready

Make sure that you have downloaded and installed SMLets as described in the previous recipe, Downloading and installing SMLets.

You also need administrator rights within Service Manager to be able to delete a work item.

How to do it...

In this particular example, we will take a look at how to ...

Get Microsoft System Center 2016 Service Manager Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.