I am open sourcing download the script that I’ve created for downloading all Microsoft SCOM MPs. Open sourcing is meant to be a joke of course. It is a script with code that is available for viewing and changing as whatever serves your purpose since its creation. The difference is that I am moving to GitHub so it will be easier for contribution by all. There is not new version but you can find all code here. The TechNet gallery page will be left as placeholder but will not contain the script anymore. You can find a link to GitHub repository there as well. I hope this change is welcome.
Tag: bulk
Version 3.0 of Damian’s and My Script to Download All SCOM Management Packs with PowerShell
So my good friend Damian Flynn and fellow MVP has decided to bring this script to another level by making more like PowerShell module than only script. The result is cleaner code and some parts can be reused. You can find the new version here. Some of the changes include:
- Refactored the script to a powershell module, and split the code into functions to ease support and prepare for some automation 😉
- added Write-CMTraceLog – to enabled it execute Get-SCOMManagementPacks –CMTrace
- removed two download links that are incorrectly gathered at the beginning
I hope you will like these improvements. Leave any feedback on the TechNet Gallery page. This is why community rocks. Expect more from Damian on this topic.
Version 2.3 of My Script to Download All SCOM Management Packs with PowerShell
Script is update with some small changes all contributed by Anthony Bailey:
- Improvements on getting the confirmation link for each MP.
- The script now also grabs the date the MP was added to Microsoft’s catalog and adds this to the logs/screen output
- Any duplicate download links are removed before downloading as some download pages have duplicate files in the html
- Improvements on check if MP is already downloaded
- New version you can download from the following locations:
- TechNet Gallery
- SystemCenterCentral.com
Version 2.2 of My Script to Download All SCOM Management Packs with PowerShell
Microsoft has made some changes to the code of the download pages on the MPs so the script was not able to get MP version. Here is full change log:
- Microsoft has made some changes to the code of the download pages again so the script was not able to get the version of the MP. Made changes to work with the new code.
- The script now checks if MP web pages is invoked successfully
- If MP Page is not invoked successfully error appears. Error is also written in a Error Log.
- Improvements on check if MP is already downloaded
- MP download links are displayed on separate lines
- Changes section was made more readable format
You can download the new version from the following locations:
Version 2.1 of My Script to Download All SCOM Management Packs with PowerShell
Little improvements were made to this script. All of them were contributed by Anthony Bailey:
- The script now checks if the folder for the version already exists and if only there is not such folder than downloads the MP;
- When MP is downloaded successfully it is written in a log file;
With these improvements you can run the script with schedule task and configure SCOM to monitor the log that way you can get alerted when new MP is available. All thanks to Anthony Bailey.
Latest version you can find on TechNet Gallery or systemcentercentral.com.