user3436467
user3436467

Reputation: 1775

powershell equivalent for curl command

Looking for a powershell equivalent to the following CURL command:

curl -x "http://username:[email protected]:5001" "https://www.google.com"

Have looked online but could not find anything similar to this.

Upvotes: 2

Views: 794

Answers (1)

Nicicalu
Nicicalu

Reputation: 795

The PowerShell equivalent would be the following command:

Invoke-Webrequest -Proxy "http://username:[email protected]:5001" -Uri "https://www.google.com"

Upvotes: 2

Related Questions