Skip to content

Comment on PowerShell's curl runs JavaScript code with system accessparent

Comments

Everybody say "thank you, Microsoft!". Until PowerShell 6, curl in pwsh was an alias to Invoke-WebRequest: https://lazyadmin.nl/powershell/using-curl/

Obviously, it does not cause any confusion at all because all the Windows admins always install the latest and greatest versions of Powershell into the environments they administer.

Oh wow. I had no idea. I bet Daniel had a lot of fun fielding "curl is broken on Windows" issues.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.