4 ms·
I noticed that "curl" in PowerShell is an alias, so you would have to deliberately say "curl.exe" to get System32\curl.exe C:\> alias curl CommandType
by tyingq 4y ago
I noticed that "curl" in PowerShell is an alias, so you would have to deliberately say "curl.exe" to get System32\curl.exe
C:\> alias curl
CommandType Name Version
Source
----------- ---- ------- ------
Alias curl -> Invoke-WebRequest
- justeleblanc 4y agoThat's not the case in the latest versions of powershell.
- archgoon 4y ago[dead]
- VWWHFSfQ 4y agoYeah they did the same thing with wget. Just absolutely bonkers
- phpisthebest 4y agoThat is for Windows Powershell, not Powershell (and yes Windows Powershell is different from PowerShell [1]) curl > curl.exe > C:\Windows\System32\curl.exe [1] https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.3 https://learn.microsoft.com/en-us/powershell/scripting/whats...
- thomasjudge 4y agoThis is so Microsoft