Re:Microsoft’s new Windows prompts try to stop people downlo...
by majkinetor on Thursday December 02, 2021 @09:58AM
(#29416923)
You could do that almost 10 years ago with chocolatey the exactly same way, here is one liner
[ Parent
| on HN ]
Re:Microsoft’s new Windows prompts try to stop people downlo...
by dotancohen on Thursday December 02, 2021 @10:11AM
(#29417083)
And how did you get chocolatey on that new install? I'm guessing that the vast majority of users opened IE and downloaded it through that browser.
Re:Microsoft’s new Windows prompts try to stop people downlo...
by vadfa on Thursday December 02, 2021 @10:15AM
(#29417121)
"iwr https://chocolatey.org/install.ps1 | iex" installs chocolatey without having to open IE
Re:Microsoft’s new Windows prompts try to stop people downlo...
by dotancohen on Thursday December 02, 2021 @10:19AM
(#29417168)
I see. That's why my comment was worded so carefully: though I'm sure one _could_ install chocolatey from the Windows CLI, a tiny minority ever would do so.
But that's for introducing me to the iwr command. I don't use Windows often, but it's good to know what tools are available in the rare instances that I need to. Now I need a mnemonic to remember it... "I Want Real (curl)"
Re:Microsoft’s new Windows prompts try to stop people downlo...
by alexchro93 on Thursday December 02, 2021 @11:32AM
(#29418326)
Invoke Web Request is another good one, considering iwr is just an alias for the PowerShell cmdlet Invoke-WebRequest.
Re:Microsoft’s new Windows prompts try to stop people downlo...
by easton on Thursday December 02, 2021 @10:41AM
(#29417482)
C:\Windows\System32\curl.exe exists if you want real curl. (or just run curl from a command prompt. curl in powershell is an alias for iwr.
Re:Microsoft’s new Windows prompts try to stop people downlo...
by majkinetor on Thursday December 02, 2021 @11:15AM
(#29418053)
Its 5 years outdated tho, better use this, always up to date: