Book Image

Microsoft System Center 2016 Service Manager Cookbook - Second Edition

By : Steve Buchanan, Steve Beaumont, Anders Asp, Dieter Gasser, Andreas Baumgarten
Book Image

Microsoft System Center 2016 Service Manager Cookbook - Second Edition

By: Steve Buchanan, Steve Beaumont, Anders Asp, Dieter Gasser, Andreas Baumgarten

Overview of this book

Keep your organization up to speed with the Microsoft System Center 2016 Service Manager Cookbook. Over 100 practical recipes for SCSM 2016 give you all the tools to master IT service management.
Table of Contents (23 chapters)
Microsoft System Center 2016 Service Manager Cookbook - Second Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

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:

  1. 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.

  2. Open a PowerShell prompt and run this command to import SMLets:

            Import-Module SMLets 
    
  3. Once the module has been imported, run the following command (make sure that the...