Version 2.5 of My Script to Download All SCOM Management Packs with PowerShell


A lot of time has passed since I haven’t updated my script and Microsoft once again forced me to update it. Again they’ve decided to change something on their download pages. Thank you Microsoft for changing your websites so I can advance my PowerShell skills. The script is now version 2.5 and here are the changes:

  • Using invoke-webrequest was causing cookie prompt dialog to appear due to changes on Microsoft download pages. Replaced it with .net framework function. Thanks to my co-worker Georgi Ivanov for helping me in this.
  • Replaced Write-Host with Write-Output. Accodring to Jeffrey Snover and Don Jones a puppy dies every time someone is using Write-Host 🙂
  • Added additional logic to check every file if exists not only the version folder
  • MP version, Published date and download links are now being get by different way as invoke-webrequest is not used

New version you can download from the following locations:

Advertisements

2 thoughts on “Version 2.5 of My Script to Download All SCOM Management Packs with PowerShell

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s