wget and curl Alias in PowerShell

Today I needed to fetch some data from the network in a PowerShell console. If you have a UNIX background you might be used to things like wget or curl. PowerShell has actually a few default aliases on Invoke-WebRequest that map to these UNIX tools:

Sure, these aliases behave a bit differently compared to the original command line API, but the simple download is extremely easy:

wget http://www.oliver-lohmann.me/images/2014/Jun/create-vs-project.png -OutFile D:\temp\1.png
 
comments powered by Disqus