This is the second part of the question I asked before, related to activestate cli installation on windows 8.1. I have ps V4.0 installed on my machine. When I run the command suitable for ps V4.0, provided by @mklement0 as an answer to my question, I got another error. Screenshots are attached as it is a lengthy error message.
any idea what is the problem causing this ? Thanx in advance
The bulk of the error message is simply the source code of the script (block) that caused the error.
The last screenshot reveals the cause of the error: The Expand-Archive
cmdlet that the script depends on cannot be found.
This is to be expected in PowerShell v4, because this cmdlet was introduced in v5.
Therefore, the solution is to upgrade your PowerShell installation to v5.1