Download VHD Test Drive – System Center Operations Manager 2007 R2 with PowerShell and Bits

Just in case you were interested in test driving Operations Manager 2007 R2, we published a VHD several days ago, you can download it here.

Jeremy Pavleck questioned why it’s only available as a 13 part RAR file, and doesn’t use the typical MS File Transfer Manager like we get on MSDN to download it one big bundle – or at least the option to get it that way. I don’t know why we offer it only as a 13 part RAR file but for his and yours convenience I created a PowerShell script which can download the complete rar files in one-go using Bits.

 

Save script to DownloadVHD.ps1 and run from PowerShell.

############################################################################### # Download VHD Test Drive – System Center Operations Manager 2007 R2 from # https://www.microsoft.com/downloads/en/details.aspx?FamilyID=ef67ea4f-b8af-436f-80ae-33936f26f110 # in one-go using PowerShell and Bits. # Remark: Use PowerShell 2.0 because it makes use of the BitsTransfer Module # Author: Stefan Stranger # v1.001 - 14/02/2011 - stefstr - initial release ###############################################################################

$global:path = "c:\Temp\"

Import-Module BitsTransfer #Loads the BitsTransfer Module Write-Host "BitsTransfer Module is loaded"

$OpsMgrVHDs = @("https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/EULA.txt", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/README.rtf", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part01.exe", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part02.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part03.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part04.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part05.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part06.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part07.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part08.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part09.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part10.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part11.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part12.rar", "https://download.microsoft.com/download/4/A/F/4AFA721B-842E-4253-82E7-A53E09FC191E/VHD_OpsMgr2007R2.part13.rar")

Foreach ($OpsMgrVHD in $OpsMgrVHDs) { Start-BitsTransfer $OpsMgrVHD $path} Write-Host "OpsMgr VHD's are downloaded to $path"

 

Screenshot from script running in PowerShell ISE.

image

 

Have fun!

Tweet