Scoop
Scoop copied to clipboard
[Bug] Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
i am trying to install scoop on windows 7 and its keep just saying
Invoke-RestMethod : The request was aborted: Could not create SSL/TLS secure channel. At line:1 char:1
- Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
-
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
PS C:\Windows\system32>
i am having 5.1 version of powershell
Enable TLS 1.2 and retry -- it works fine for me on Windows 10 v2015.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12