Install instructions through this following error, on Windows 2021 r2. What can I do?
C:\Users\Administrator>powershell -Command “& $([scriptblock]::Create((New-Objec
t Net.WebClient).DownloadString(‘https://platform.activestate.com/dl/cli/install
.ps1’))) -activate-default ActiveState/Perl-5.32”
Exception calling “DownloadString” with “1” argument(s): “The underlying
connection was closed: An unexpected error occurred on a send.”
At line:1 char:5
The expression after ‘&’ in a pipeline element produced an object that was not
valid. It must result in a command name, a script block, or a CommandInfo
object.
At line:1 char:3
Hey @mikes-bluef – it looks like you’re running the script from within the PowerShell shell, can you try pasting the command into just a regular cmd.exe prompt? Because it calls out to Powershell, it’s designed to be run from a Command Prompt rather than directly within Powershell.