This powershell script turns the, in the internet settings configured, proxy on or off. Dependent on the connected Network.
In the current setting the Proxy is on when there is a LAN connected and if a WLAN is connected it depends on a list of SSIDs if the Proxy is on.