Finding Management Packs from Microsoft Download website using PowerShell

I don’t know if you noticed but Daniel Savage started a blog series about how we are raising the bar with respect to Management Packs. Daniel is responsible for all things related to Operations Manager Management Packs including customer satisfaction related to MPs for Microsoft server workloads.

In his first blogpost he also references a Wiki Management Pack page on Microsoft Technet.

So I thought it would be cool to be able to scrape some of the information about Management Packs using PowerShell. With some help from Jeff Wouters it turned out not to be that difficult.

$hsg = Invoke-WebRequest -Uri ""
$hsg.Links | Where-Object {($_.href -like "**download*") -and ($_.outerText -notlike "*Link to download page*") -and ($_.InnerHTML -like "*This link*")} | 
Select @{Label="Management Pack";Expression={$_.InnerText}}, @{Label="Download Link";Expression={$_.href}}


[xml]$hsg = Invoke-WebRequest ""

$ | select Title, pubDate, creator



You could use some of the code to create some monitor to check for new Management Pack updates, using the RSS feed or some other fun stuff.

Have fun!

Comments (2)
  1. Anonymous says:

    Also check the blogpost from Stanislav Zhelyazkov about downloading all Microsoft Management Packs for SCOM 2007, R2 and 2012 in Bulk with PowerShell.…/download-all-microsoft-management-packs-for-scom-2007-r2-and-2012-in-bulk-with-powershell


  2. Dominique DUCHEMIN says:


    What will be the parameter to get all MPs for SCOM 2007 only to get the latest versions of all of them before it dies…


Comments are closed.

Skip to main content