Created
June 8, 2015 14:14
-
-
Save macna/5cabe2e1fef63325ba19 to your computer and use it in GitHub Desktop.
PowerShell script for connecting to Microsoft Azure when behind a forward-proxy. Requires the Microsoft Azure PowerShell commandlets.
This file contains hidden or 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
$webclient=New-Object System.Net.WebClient | |
$creds=Get-Credential | |
$webclient.Proxy.Credentials=$creds | |
$cred = Get-Credential | |
Add-AzureAccount -Credential $cred |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment