Exporting your unsealed management packs using SMLets
As part of your backup routines for Service Manager you should always take a backup of your unsealed management packs. But in order to take backup of these, you will have to export them from Service Manager first and doing so manually from the Service Manager console every day isn't really an option. A better way of doing this is using the SMLets.
Getting ready
Make sure that you have downloaded and installed SMLets as described in the earlier recipe, Downloading and installing SMLets.
How to do it...
The following is a pretty simple script that uses the SMLets to export your management packs:
- Log on to the Service Manager management server where you have the SMLets installed. Make sure that the account used for logging in has Administrator privileges in Service Manager.
- Open a PowerShell prompt and run this command to import SMLets:
Import-Module SMLets
- Once the module has been imported, run the following command (make sure that...