I am trying to installing chocolaty on windows 7 machine.
1. I open power shell terminal with admin
2. Set-Execution policy to AllSigned
3.Then in copied the below code in powershell terminal
Set-ExecutionPolicy Bypass -Scope Process -Force;
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
但是我收到以下错误消息:异常设置“securityProtocol”:“无法将值“3312”转换为类型“System.Net.SecurityProtocolTypeValid”枚举值。请指定以下枚举值之一,然后重试。可能的枚举是“Sel3,Tls”