PowerTip: Download Links from Webpage with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to download links from a webpage.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily download links from a webpage that has a lot of links I want?

Hey, Scripting Guy! Answer Use Invoke-WebRequest and select Links and href, for example:

(Invoke-WebRequest -Uri "http://www.scriptingguys.com").Links.Href


Discussion is closed.

Feedback usabilla icon