Download Technical WhitePapers from VMware Site – PowerShell

Download Technical WhitePapers from VMware Site – PowerShell

Download Technical WhitePapers from VMware Site – PowerShell

Here is an automated script which will download all the technical white papers through,

We are using a combination of both the Invoke-WebRequest cmdlet and the Start-BitsTransfer cmdlet.

I had to build a logic to download the files as we have multiple pages to download them.

The logic built below was based on the website to download the tech resource paper.

Every page contains links to download the file and it shows up in the format

“$i”, where $i increments in the count of 30, as we have 30 contents per page and the maximum count is 630.

So based on this we are using the Invoke-WebRequest cmdlet to get the links of the pdf files and once we get the links for the pdf files we download them to a destination location using Start-BitsTransfer.

We have enclosed the Start-Bitstransfer cmdlet inside a try catch statement so that i can catch and errors and those are redirected to a notepad file.

So lets take a look at the script.


No manual download of the whitepapers, all downloaded and  saved automatically at one shot to your local pc.

When i executed it in my Test Environment, it took about 13 minutes to complete!, isn’t that Neat!!.

Please disregard the colour coding for the errors i used, i used the “Dark Red”, and it was giving me colour blindness when i tried to read through it on my powershell console.

Here’s a view of the error notepad file created.

And here’s a view of my folder where i download all the PDF’s :), also note this is just a snippet, there are around 500+ whitepapers !

I hope you enjoyed this blogpost on how to use the power of Invoke-WebRequest and Start-BitsTransfer cmdlet and found this information useful.


Please follow and like us:

Share this post

One thought on “Download Technical WhitePapers from VMware Site – PowerShell

Post Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.