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.