I am trying to run a cmd file that calls a PowerShell script from cmd.exe, but I am getting this error:
Management_Instal
I'm using Windows 10 and was unable to run any command. The only command that gave me some clues was this:
[x64]
- Open C:\Windows\SysWOW64\cmd.exe [as administrator]
- Run the command> powershell Set-ExecutionPolicy Unrestricted
But this didn't work. It was limited. Probably new security policies for Windows10. I had this error:
Set-ExecutionPolicy: Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of...
So I found another way (solution):
Now open PowerShell and enjoy ;)