In PowerShell, this command may be an alias of
Invoke-WebRequest
when the originalwget
program (https://www.gnu.org/software/wget) is not properly installed. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest.
wget
is properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command with Invoke-WebRequest
:wget --version
wget
command:tldr wget -p common
Invoke-WebRequest
command:tldr invoke-webrequest