Book Image

Microsoft System Center 2012 Service Manager Cookbook

Book Image

Microsoft System Center 2012 Service Manager Cookbook

Overview of this book

Microsoft System Center Service Manager (SCSM) offers enterprises a complete, integrated platform for automating and adapting IT Service Management best practices to your organization's requirements. "Microsoft System Center Service Manager Cookbook" provides you with real-world, immediately usable recipes which will show you how to configure and administer System Center Service Manager 2012 and understand how to solve particular problems and scenarios to take this tool further. In Microsoft System Center Service Manager Cookbook, you will get to grips with practical recipes which will show you how to configure and administer System Center Service Manager 2012. This cookbook features distinct recipes on the practical implementation of ITSM Frameworks and Processes, Microsoft System Center 2012 Service Manager Administration, how to configure Service Level Agreements (SLAs). It will also cover incident and problem management, the design of change and release management as well as implementing and editing security roles.
Table of Contents (20 chapters)
Microsoft System Center 2012 Service Manager Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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.

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 delete an Incident. To do so, follow these steps:

  1. Log on to the Service Manager management...