Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

. #1619

Closed
dk445 opened this issue Oct 13, 2019 · 14 comments
Closed

. #1619

dk445 opened this issue Oct 13, 2019 · 14 comments

Comments

@dk445
Copy link

dk445 commented Oct 13, 2019

No description provided.

@zeeeDev
Copy link

zeeeDev commented Oct 13, 2019

same issue

@adelbs
Copy link

adelbs commented Oct 19, 2019

It's a security restriction of the Windows PowerShell.

  1. Open up a powershell command window (open it as administrator)
  2. To check out current restrictions type "Get-ExecutionPolicy"
  3. Enable powershell by typing "Set-ExecutionPolicy remotesigned"

Just got the solution from this link:
https://stackoverflow.com/questions/32692087/nuget-give-this-error-ps1-cannot-be-loaded-because-running-scripts-is-disabled

@remy
Copy link
Owner

remy commented Oct 24, 2019

It this worth adding to the FAQ?

@MarwaAbuEssa
Copy link

@adelbs It worked for me , thanks

@remy
Copy link
Owner

remy commented Nov 20, 2019

Closing and updating FAQ (as there's a solid answer).

@remy remy closed this as completed Nov 20, 2019
@MdSamsuzzohaShayon
Copy link

This should work

open your power-shell as administration and type

Get-ExecutionPolicy

Expected result RemoteSigned

Set-ExecutionPolicy remotesigned

Enjoy

@Baypars
Copy link

Baypars commented Dec 9, 2019

It's a security restriction of the Windows PowerShell.

  1. Open up a powershell command window (open it as administrator)
  2. To check out current restrictions type "Get-ExecutionPolicy"
  3. Enable powershell by typing "Set-ExecutionPolicy remotesigned"

Just got the solution from this link:
https://stackoverflow.com/questions/32692087/nuget-give-this-error-ps1-cannot-be-loaded-because-running-scripts-is-disabled

thank you sir, it worked for me.

@navom7
Copy link

navom7 commented Dec 22, 2019

It's a security restriction of the Windows PowerShell.

  1. Open up a powershell command window (open it as administrator)
  2. To check out current restrictions type "Get-ExecutionPolicy"
  3. Enable powershell by typing "Set-ExecutionPolicy remotesigned"

Just got the solution from this link:
https://stackoverflow.com/questions/32692087/nuget-give-this-error-ps1-cannot-be-loaded-because-running-scripts-is-disabled

It worked also for me..
Thanks

@Eman152
Copy link

Eman152 commented Jan 4, 2020

i tried that but doesn't work..any other suggestions!

@zain148
Copy link

zain148 commented Feb 7, 2020

It's a security restriction of the Windows PowerShell.

  1. Open up a powershell command window (open it as administrator)
  2. To check out current restrictions type "Get-ExecutionPolicy"
  3. Enable powershell by typing "Set-ExecutionPolicy remotesigned"

Just got the solution from this link:
https://stackoverflow.com/questions/32692087/nuget-give-this-error-ps1-cannot-be-loaded-because-running-scripts-is-disabled

it's not working

@dk445 dk445 changed the title nodemon not able to use due to disabled script . Feb 7, 2020
@anshu-20166
Copy link

It's a security restriction of the Windows PowerShell.

  1. Open up a powershell command window (open it as administrator)
  2. To check out current restrictions type "Get-ExecutionPolicy"
  3. Enable powershell by typing "Set-ExecutionPolicy remotesigned"

Just got the solution from this link:
https://stackoverflow.com/questions/32692087/nuget-give-this-error-ps1-cannot-be-loaded-because-running-scripts-is-disabled

It worked also for me..
Thanks

thanks it worked for me as well

@Satyam-code143
Copy link

@adelbs
Worked for me!
Thank You!!

@juniorbuba
Copy link

If you're on windows you can try: settings>>update & security>>for developers>> check the allow powershell to run scripts without signing box

@KennyLeungCB
Copy link

If you're on windows you can try: settings>>update & security>>for developers>> check the allow powershell to run scripts without signing box

Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests