Get proxy credentials behind web proxy

This commit is contained in:
Jens Frederich 2017-10-04 08:19:57 +02:00
parent 6aae6ca3c0
commit 0ba3c166d7

View File

@ -4,6 +4,10 @@ param(
[string]$disableMetrics = "0"
)
$webclient=New-Object System.Net.WebClient
$creds=Get-Credential
$webclient.Proxy.Credentials=$creds
$scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition
$vcpkgRootDir = & $scriptsDir\findFileRecursivelyUp.ps1 $scriptsDir .vcpkg-root