Created
April 13, 2020 07:41
-
-
Save rroman81/7f6da0f07c83497c562a668819708118 to your computer and use it in GitHub Desktop.
Sets the system proxy settings in active PowerShell session
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[System.Net.WebRequest]::DefaultWebProxy = [System.Net.WebRequest]::GetSystemWebProxy() | |
[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment