What is the fix for the following error message? Attempted to install state tool on Windows Server 2016 with Macfee and firewall turn off and internate accessible from the server.
C:\Windows\system32>powershell -Command “& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(‘https://platform.activestate.com/dl/cli/install.ps1’)))”
Exception calling “DownloadString” with “1” argument(s): “The underlying connection was closed: An unexpected error occurred on a
receive.”
At line:1 char:5
- & $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(’ …
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: ( , MethodInvocationException
- FullyQualifiedErrorId : WebException
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
- & $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(’ …
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : BadExpression