Check Proxy settings from Powershell

To check the proxy settings like ProxyOveride or if it is enabled or not:

To disable proxy from PowerShell:

To enable proxy from PowerShell: