I am trying to run a cmd file that calls a PowerShell script from cmd.exe, but I am getting this error:
cmd
cmd.exe
Management_Instal
I get another warning when I tryit to run Set-ExecutionPolicy RemoteSigned
Set-ExecutionPolicy RemoteSigned
I solved with this commands
Set-ExecutionPolicy "RemoteSigned" -Scope Process -Confirm:$false Set-ExecutionPolicy "RemoteSigned" -Scope CurrentUser -Confirm:$false