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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.