Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So in cygwin bash I am able to type "powershell" to bring me into a powershell prompt but it won't load my powershell profile.ps1 due to not being able to execute scripts, but I can't set the execution policy in this prompt...

So I tried running the default powershell prompt (as administrator) and was able to set the execution policy to remote signed, but it doesn't affect the powershell within bash

what am I missing?

Bash Powershell Powershell As Administrator

share|improve this question

You can bypass this:

powershell -ExecutionPolicy bypass
share|improve this answer

You could run this from your bash shell:

 powershell -ExecutionPolicy RemoteSigned 


For me this works without the dash before cmdlet so:

powershell ExecutionPolicy RemoteSigned

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .