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
This solved my issue
Open Windows PowerShell Command and run below query to change ExecutionPolicy
PowerShell
ExecutionPolicy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
if it ask for confirm changes press 'Y' and hit enter.