What is difference between these three proxies?

Bombbe 1,591 Reputation points

what is difference between these two proxies setup when both are done in Powershell? Have seen both is use and action but really could not found the difference (if there are even).

Netsh winhttp set proxy <url:port>


    $env:https_proxy = [System.Environment]::GetEnvironmentVariable("https_proxy","Machine")

or in cmd

set http_proxy=protocol://ip:port
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,117 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
523 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sunny Qi 10,916 Reputation points Microsoft Vendor


    Thanks for posting in Q&A platform.

    Based on my knowledge, all these commands are using to configure proxy and there is no difference between these commands.

    Attaching the following articles for your reference.

    Configure device proxy and Internet connectivity settings


    Please Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.

    Best Regards,


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments