0
Hello, I’m having trouble installing Chocolatey in my Win7. I use the code
@"%Systemroot% System32 Windowspowershell v1.0 powershell.exe" -Noprofile -Inputformat None -Executionpolicy Bypass -Command "iex ((New-Object System.Net.Webclient).Downloadstring('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE% Chocolatey bin"
And the Command Prompt returns me the following error:
Exception when calling "Downloadstring" with "1" argument(s): "The underlying connection was closed: Unexpected error on a shipment." Online:1 character:54
- iex ((New-Object System.Net.Webclient). Downloadstring <<< ('https://Chocolat
ey.org/install.ps1'))
- Categoryinfo : Notspecified: (:) [], Methodinvocationexception
- Fullyqualifiederrorid : Dotnetmethodexception I did not understand the mistake very well. If you can help me I will be very grateful!