Finding Referenced Management Packs

Today I was helping a customer with some OpsMgr MP authoring and you sometimes need to find a Referenced Management Pack before you can edit a MP in the Authoring Console.

 

 

image

 

It’s sometimes difficult to find the correct Version of a MP if you have stored different versions on your system. The fastest way to find the correct version for a Referenced Management Pack is using PowerShell.

We used the following script to search the D:\Temp\MPs folder and subfolders to search for the correct Reference MP.

 Get-ChildItem -Path "D:\Temp\MPs" -filter "Microsoft.SystemCenter.NTService.Library.mp" -Recurse | 
    select-Object -ExpandProperty VersionInfo | 
        Where-Object {$_.FileVersion -eq "6.0.5000.0"} | 
            Format-Table FileName, FileVersion -AutoSize

Have fun!