4 ms·
BTW, the Wget that comes built-in with Powershell is not GNU Wget. But a weird abomination from Microsoft. They just call it Wget despite it having nothing to d
by darnir 5y ago
BTW, the Wget that comes built-in with Powershell is not GNU Wget. But a weird abomination from Microsoft. They just call it Wget despite it having nothing to do with the original
- sebazzz 5y agoOnly for Windows Powershell. The alias is no longer there in Powershell 7.
- jve 5y agoIt's an alias for Invoke-WebRequest command, to be more precise. Get-Alias wget CommandType Name ----------- ---- Alias wget -> Invoke-WebRequest https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.1 https://docs.microsoft.com/en-us/powershell/module/microsoft...
- jftuga 5y agoThis is how to remove it, in case you want to use a real version of 'wget' found on your $env:PATH: Remove-Item Alias:\wget -force I also suggest doing the same for curl so that the real version of curl can run when just typing in 'curl': Remove-Item Alias:\curl -force I have added these lines to my $PROFILE so that every time I invoke a PowerShell, I get more sane settings.
- jve 5y agoLuckily, these aliases are removed in PowerShell Core. https://github.com/PowerShell/PowerShell/pull/5268 https://github.com/PowerShell/PowerShell/pull/5268