News for hackers. Stuff that matters.
Re:Tar and Curl Come to Windows by stevemk14ebr on Thursday December 21, 2017 @09:00PM (#15984701)
cool. I want wget now
Re:Tar and Curl Come to Windows by DougN7 on Thursday December 21, 2017 @09:29PM (#15984811)
I’ve been using wget on Windows for years, though it’s not built in.
Re:Tar and Curl Come to Windows by seuss1969 on Friday December 22, 2017 @02:37AM (#15985859)
It's possible to download a static executable of the latest Wget releases for Windows.

They tend to work without any issues.

Re:Tar and Curl Come to Windows by freeone3000 on Thursday December 21, 2017 @10:23PM (#15985041)
Invoke-WebRequest is good enough for a lot of use cases. Curl should handle the rest.
Re:Tar and Curl Come to Windows by johnramsden on Friday December 22, 2017 @01:11AM (#15985597)
Got to love their naming scheme, Invoke-WebRequest url just flows off your fingers.
Re:Tar and Curl Come to Windows by lstamour on Friday December 22, 2017 @02:06AM (#15985758)
I think it can be shortened to “iwr” (it’s aliased to “curl”)
Re:Tar and Curl Come to Windows by WorldMaker on Friday December 22, 2017 @12:37PM (#15989279)
It's also aliased to wget.

The Verb-Noun verbosity of PowerShell is great for A) discovering new verb and noun combinations that you hadn't considered before (and Get-Verb gives you a list of common verbs), and B) for keeping scripts readable in the long term. Most every Verb-Noun has at least one shortcut alias, most based on common cmd/bash-isms (Get-ChildItem has gci, ls, and dir), and Get-Help on any Verb-Noun will list the aliases for you.

Re:Tar and Curl Come to Windows by WorldMaker on Friday December 22, 2017 @12:43PM (#15989325)
With respect to (B): I do try to write out the full verbose names (Verb-Noun) when writing scripts, as a maintenance goal. At that point when you are writing a script the verbosity is often less of a problem because you can write in an IDE of your choice that provides strong auto-completion. (You can also get basic tab completion in the command prompt and use an IDE as your command prompt, if for some reason you are entirely allergic to the short aliases and want to spell out the full things even for random REPL work.)