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

Security Warning - cmder\vendor\profile.ps1 #767

Closed
nxion opened this issue Dec 12, 2015 · 5 comments
Closed

Security Warning - cmder\vendor\profile.ps1 #767

nxion opened this issue Dec 12, 2015 · 5 comments

Comments

@nxion
Copy link

nxion commented Dec 12, 2015

I seem to be getting an error every time I run cmder and was wondering what I'm doing wrong. The result from Get-ExecutionPolicy states that I'm set to Unrestricted. The machine sis a WIndows 10 Pro. See the screenshot below

capture

@MartiUK
Copy link
Member

MartiUK commented Dec 14, 2015

You need to set your execution policy so you can run powershell scripts such as the profile script included with cmder.

@nxion
Copy link
Author

nxion commented Dec 14, 2015

I ran set-executionpolicy unrestricted -s cu to set it to unrestricted. Is that not the correct command?

@MartiUK
Copy link
Member

MartiUK commented Dec 14, 2015

Ah, sorry, run Unblock-File Profile.ps1. Windows sometimes blocks scripts downloaded from the internet.

@nxion
Copy link
Author

nxion commented Dec 14, 2015

Thanks. I will try that later. I do have to say, this is a fantastic project. I love the command line on Linux but have always found the Windows command line to be so cumbersome to use. Recently I have transitioned back to a Windows server admin and this has made my life MUCH easier. Feel like a Linux box :). Kudos!

@konius
Copy link

konius commented Jan 8, 2016

@MartiUK Thanks, that solved the problem

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

4 participants