SMLets are a set of PowerShell cmdlets (pronounced as command-lets) to do administrative tasks and automate things in Service Manager. By using the different cmdlets in SMLets you can do things that you are unable to do from the console and create some very powerful scripts. This makes the SMLets a vital part of any Service Manager administrator's toolbox.
There are in fact an official Service Manager PowerShell module included in the product, and even if it's becoming better and better, the SMLets still offers more powerful capabilities.
Make sure that you have local administrator rights on the Service Manager management server in order to install the SMLets.
To download and install SMLets, follow these steps:
SMLets.msi
file, right-click on it, and select Properties. Now click on the Unblock button in the lower-right-hand side of the Properties dialog. Click on OK. This step might not apply to your environment depending on your current security settings.The SMLets should now be installed on your Service Manager management server and you are now ready to use the cmdlets.
To confirm the installation, follow these steps:
Import-Module SMLets
Get-SMLetsVersion
If everything is working correctly, you should see some information regarding the SMLets version, as shown in the following screenshot:
SMLets will be used in several of the upcoming recipes in this chapter, so we won't be giving any examples on how to use SMLets in this particular recipe.
Please see the recipes Using SMLets to delete a work item and Autoclosing resolved Incidents with SMLets and a custom workflow in this chapter for examples of how to use SMLets.
18.222.80.122