O'Reilly logo

Microsoft System Center 2016 Service Manager Cookbook - Second Edition by Dieter Casser, Steve Buchanan, Steve Beaumont, Andreas Baumgarten, Anders Asp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating new work items with SMLets

When automating your ITIL processes, there will be situations where you will need to create new work items programmatically. For instance, you might have a scheduled change once a month or you would like to automatically create incidents when you discover an error in the event log of some LOB application.

In this recipe, we will take a look at how we can create a new service request with included activities directly from PowerShell.

The end result would look like this:

Creating new work items with SMLets

Getting ready

Make sure that you've followed the Downloading and installing SMLets recipe earlier in this chapter. It's also very good if you have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required