SCOM Visual Studio Authoring – Creating a new Management Pack

Some Pre-requisites:

  1. Install System Center 2012 Visual Studio Authoring Extensions:
  2. Create a key file to sign your management packs (optional):
  3. Visual Studio installed

Getting Started

  • Launch Visual Studio
  • Choose “File”
  • Choose “New”
  • Choose “Project…”
  • Choose “Templates” -> “Management Pack” -> “Operations Manager 2012 R2 Management Pack”


  • Ok, now that you have the Management Pack created, a few notes about organization. I like to order things the same way the old Authoring Console was organized. To see an example of the organizational structure go to “View” and then “Management Pack Browser”. My way might not be the way you like, but the key is organizing things in a way that make sense to you. You’ll get a better idea of how it looks in future posts.


  • To create new folders and items in your project right click on the MP name (“RegistryDiscovery” above the two red circles in the picture above) and choose “add” and then “folder” or “item”. You can continue creating sub folders/items by right clicking on any of the folders you create and adding new ones below them.

A note for future posts: I only use the built in item “Empty Management Pack Fragment” template as I find editing straight xml to be my preference. To create a new Empty Management Pack Fragment do the following:

  • Create a new folder as described above if needed
  • Right click on the folder you’d like to create a new Empty Management Pack Fragment under
  • Choose “add”
  • Choose “item”
  • Choose “Empty Management Pack Fragment” and name it to correspond with the layout of the Management Pack Browser if you like


Adding new Management Pack References

There will come a time when you are authoring and need to reference management packs other than the ones that are added by default. Often times you can get the MPs you need from the SCOM install media under the “ManagementPacks” directory (under the root of the SCOM install media). Other times you’ll have to locate the MPs you installed previously, downloaded, or created. Here’s how you add them to the project:

  • Right click on “References”
  • Choose “Add References…”
  • Choose the “Browse” tab and locate the management pack you want to add a reference for


That’s all for now. Next time I’ll go over some basic class and discovery creation as well as building a sealed Management Pack.

SCOM Visual Studio Authoring – Site Index


One thought on “SCOM Visual Studio Authoring – Creating a new Management Pack

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s