diff --git a/dnvminstall.ps1 b/dnvminstall.ps1 index 765cde2e58..ac3a38e6c3 100644 --- a/dnvminstall.ps1 +++ b/dnvminstall.ps1 @@ -7,6 +7,8 @@ if (!(Test-Path $tempPath)) { md $tempPath | Out-Null } $webClient = New-Object System.Net.WebClient +$webClient.Proxy = [System.Net.WebRequest]::DefaultWebProxy +$webClient.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials Write-Host "Downloading DNVM.ps1 to $dnvmPs1Path" $webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/dev/dnvm.ps1', $dnvmPs1Path) Write-Host "Downloading DNVM.cmd to $dnvmCmdPath"