Improve warning message about Powershell 5.1

This commit is contained in:
Alexander Karatarakis 2018-03-22 16:46:52 -07:00
parent d45954a96b
commit bc4fd2653b

View File

@ -140,7 +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 "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 "Please manually download $url to $downloadPath"
Write-Warning "To solve this issue for future downloads, you can also install PowerShell 5.1+" Write-Warning "To solve this issue for future downloads, you can also install Windows Management Framework 5.1+"
throw "Download failed" throw "Download failed"
} }
} }