Sorry for the late response, but here's a quick and dirt piece of code
I call psget.ps1

#stinger is used here as an example only
$yourURL = 
"http://downloadcenter.mcafee.com/products/mcafee-avert/stinger/stinger.exe";
$yourFile = "c:\temp\stinger.exe"
$webclient = New-Object Net.WebClient
$webclient.DownloadFile($yourURL,$yourFile)
echo "Your download is now complete!"

Hope that helps!

Rubens

On Thu, Feb 2, 2012 at 12:58 AM, Harry Singh <[email protected]> wrote:
> I'd for one be very interested in knowing what is the PS equivalent to wget.
>
> On Wednesday, February 1, 2012, Richard Stovall <[email protected]> wrote:
>> I used to run wget from a powershell script using a scheduled task.  (Then
>> I figured out how to do the same thing with just powershell and got rid of
>> wget.)
>>
>> On Wed, Feb 1, 2012 at 7:18 PM, Rod Trent <[email protected]> wrote:
>>
>> Need to run a wget command.
>>
>>
>>
>>
>>
>> Rod Trent
>>
>>
>> <thismessage:/mail/u/0/s/?view=att&th=1353beed23172452&attid=0.1&disp=emb&realattid=c1ce1794ec09ac12_0.1&zw><thismessage:/mail/u/0/s/?view=att&th=1353beed23172452&attid=0.2&disp=emb&realattid=c1ce1794ec09ac12_0.2&zw><thismessage:/mail/u/0/s/?view=att&th=1353beed23172452&attid=0.3&disp=emb&realattid=c1ce1794ec09ac12_0.3&zw><thismessage:/mail/u/0/s/?view=att&th=1353beed23172452&attid=0.4&disp=emb&realattid=c1ce1794ec09ac12_0.4&zw>
>
>>
>>
>>
>> From: Michael B. Smith [mailto:[email protected]]
>> Sent: Wednesday, February 01, 2012 6:01 PM
>>
>> To: NT System Admin Issues
>> Subject: RE: Cron for Windows 2008
>>
>>
>>
>> I gotta ask – what’s wrong with Task Scheduler? It was basically
>> re-written for LH and has lots of nice features and functionality now…
>>
>>
>>
>> Regards,
>>
>>
>>
>> Michael B. Smith
>>
>> Consultant and Exchange MVP
>>
>> http://TheEssentialExchange.com
>>
>>
>>
>> From: Rod Trent [mailto:[email protected]]
>> Sent: Wednesday, February 01, 2012 5:53 PM
>> To: NT System Admin Issues
>> Subject: Cron for Windows 2008
>>
>>
>>
>> Anyone running Cron jobs on Windows 2008?
>>
>>
>>
>> I need a good, stable Cron app.  Hopefully something that can be run as a
>> service, but not required.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>>
>> ---
>> To manage subscriptions click here:
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to [email protected]
> with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to