2

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.

1
  • 2
    Start by figuring out what curl's parameters do. Then take a look at Invoke-RestMethod and Invoke-WebRequest. Is this SuperUser question helpful? Commented Feb 20, 2020 at 10:01

1 Answer 1

2

The PowerShell equivalent would be the following command:

Invoke-Webrequest -Proxy "http://username:[email protected]:5001" -Uri "https://www.google.com"
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.