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. You cannot perform this action from the console or from the standard Service Manager cmdlets. Also, it's worth mentioning 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.

Make sure that you have installed the Windows PowerShell Integrated Scripting Environment through the Add Feature wizard in the Server Manager. ...

Get Microsoft System Center 2012 Service Manager Cookbook now with O’Reilly online learning.

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