aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-03-20 12:39:43 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-03-20 12:39:53 -0700
commitfdf8d471ed553fa802db784e1b049cd77e721ce2 (patch)
tree696679f5a4bba794ed44a7face0cea9239a13840 /scripts
parentf528d9b82f77d58d4fc589fd2ea866d71cab4dfa (diff)
downloadvcpkg-fdf8d471ed553fa802db784e1b049cd77e721ce2.tar.gz
vcpkg-fdf8d471ed553fa802db784e1b049cd77e721ce2.zip
[TLS 1.2] Add message for Powershell 5.1+
Diffstat (limited to 'scripts')
-rw-r--r--scripts/VcpkgPowershellUtils.ps11
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1
index 73a3fc9ad..82718ecdc 100644
--- a/scripts/VcpkgPowershellUtils.ps1
+++ b/scripts/VcpkgPowershellUtils.ps1
@@ -140,6 +140,7 @@ function vcpkgDownloadFile( [Parameter(Mandatory=$true)][string]$url,
{
Write-Warning "Github has dropped support for TLS versions prior to 1.2, which is not available on your system"
Write-Warning "Please manually download $url to $downloadPath"
+ Write-Warning "To solve this issue for future downloads, you can also install PowerShell 5.1+"
throw "Download failed"
}
}