Step 5: Bundle and Import the Custom Management Pack to Service Manager
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Service Manager, System Center 2012 R2 Service Manager, System Center 2012 - Service Manager
In this of the Woodgrove Bank customization scenario, Ken needs to bundle the management pack file with all the necessary resource files and then import the bundled file into System Center 2012 – Service Manager. When Service Manager imports a management pack, it validates the XML code in the management pack file and then imports the management pack only if it is valid.
Ensure that the Woodgrove.AutomatedActivity.AddComputerToGroupMP.xml file and its associated resource files, such as the Woodgrovebank.jpg image file and the AddComputerToGroupFormAssembly.dll file, are in the same folder. For example, put all the files in the AuthoringSample folder.
Copy the folder that contains the files to the Service Manager management server.
Bundle the files using the Windows PowerShell cmdlet New-SCSMManagementPackBundle. For example:
New-SCSMManagementPackBundle –Name AddComputerToGroup.mpb -ManagementPack Woodgrove.AutomatedActivity.AddComputerToGroupMP.xml
In the Service Manager console, click Administration.
In the Administration pane, expand Administration, and then click Management Packs.
In the Tasks pane, under Management Packs, click Import Management Pack.
In the Select Management Packs to Import dialog box, select AddComputerToGroup.mpb.
In the Import Management Packs dialog box, click Add, click Import, and then click OK.