to work with EntityFramework Migration, I need to have access to PowerShell, which I don't have in my company for some security reasons.
is there any way to run these command, without have access to PowerShell?
to work with EntityFramework Migration, I need to have access to PowerShell, which I don't have in my company for some security reasons.
is there any way to run these command, without have access to PowerShell?
follow this steps :
Type this command :
Set-ExecutionPolicy Bypass -Force
Press Enter
Restart you're program
and if u don't have access to powershell follow this way :
go to Regedit.exe and follow this path :
HKEY_LOCAL_MACHINE\SOFWARE\microsoft\powershell\1\shelllds\microsoft.powershell\executionpolicy
and change of this string value Bypass
go to this address :
HKEY_LOCAL_MACHINE\SOFWARE\microsoft\powershell\1\shelllds\Scripted.diagnostic\executionpolicy
and change this value to bypass
You will have to set the execution policy. By default it's restricted that's what blocking the execution. Just run from PowerShell command prompt!
Set-ExecutionPolicy Unrestricted
If you don't have admin rights, you can set the policy just for yourself!
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
Remember to run them as command not as a script.