Downloading webpages through Powershell v3?
|
04-08-2014, 08:01 PM
Post: #1
|
|||
|
|||
Downloading webpages through Powershell v3?
I am currently trying to download webpages through Powershell. I am succeeding in downloading the actual webpage using the following command line:
C:\\Users\Username> Invoke-WebRequest -Uri http://www.scriptingguys.com/blog However, I cannot find where the webpage has been saved so I want to set up a path in the code where the webpage will automatically save (I was able to do this through wget on UNIX). Also, can these commands be run on several webpages at once? Any help appreciated. Ads |
|||
04-08-2014, 08:07 PM
Post: #2
|
|||
|
|||
Top hit for a Google of "Invoke-WebRequest" is the reference page from Microsoft. In that page it clearly defines what happens to the content from the webpage and how, using the -OutFile parameter, you can change it.
Top hit for a Google search of "powershell parallelism" gives specific examples of running tasks in parallel. In fact, the top several hits all look relevant in different ways. Ads |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)