curl命令的powershell等效程序

curl命令的powershell等效程序,powershell,curl,Powershell,Curl,正在查找与以下CURL命令等效的powershell: curl -x "http://username:password@192.168.1.1:5001" "https://www.google.com" 已联机查看,但找不到与此类似的内容。与PowerShell等效的命令如下: Invoke-Webrequest -Proxy "http://username:password@192.168.1.1:5001" -Uri "https://www.goog

正在查找与以下CURL命令等效的powershell:

curl -x "http://username:password@192.168.1.1:5001" "https://www.google.com"

已联机查看,但找不到与此类似的内容。

与PowerShell等效的命令如下:

Invoke-Webrequest -Proxy "http://username:password@192.168.1.1:5001" -Uri "https://www.google.com"

首先要弄清楚curl的参数是做什么的。然后看一下invokerestmethod和invokewebrequest。这有用吗?