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:
Make sure that you've followed the Downloading and installing SMLets recipe earlier in this chapter. It's also very good if you have ...