Download OpsMgr Guides in one-click

Have you ever tried to download the files on the System Center Operations Manager 2007 R2 Documentation webpage?

On this page you find all the technical documentation for Operations Manager 2007 R2. Pretty handy to have them downloaded on you workstation for offline reading. But as you see you need download each file separately :-(

image

And if you are as lazy as me you don’t like that. That’s why I created a PowerShell script using BitsTransfer to do this in one-click. Cool? I think so.

############################################################################### # Download all OpsMgr Guides from # https://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=19bd0eb5-7ca0-41be-8c0f-2d95fe7ec636 # 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 - 19/02/2010 - stefstr - initial release ###############################################################################

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

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

$OpsMgrGuides = @("https://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/Linked.Reporting.MP.xml", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007_AuthGuideXplat.exe", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007_ReportAuthoringGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_CrossPlatformMPAuthoringGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_CrossPlatformMPAuthoringGuide_Samples.zip", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_CrossPlatformMPAuthoringGuide_Samples.zip", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_DesignGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_DeploymentGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_MPAuthoringGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_MPModuleReference.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_OperationsAdministratorsGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_OperationsUsersGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_SecurityGuide.docx", "https://download.microsoft.com/download/B/F/D/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66/OM2007R2_UpgradeGuide.docx")

Foreach ($OpsMgrGuide in $OpsMgrGuides) { Start-BitsTransfer $OpsMgrGuide $path} Write-Host "OpsMgr Guides are downloaded to $path"

Just copy above script and save it to DownLoadOpsMgrGuides.ps1 and run it from PowerShell 2.0.

Screenshots:

image

image

image

 

Have fun with the OpsMgr Guides and using PowerShell!