PowerTip: Download Links from Webpage with PowerShell

Doctor Scripto

Dr 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

0 comments

Comments are closed.