PowerShell crashes on many cmdlets, trying to SetExecutionPolicy RRS feed

  • Question

  • Hello,

    I am trying to use SetExecutionPolicy in on my PowerShell 2.0 to get scripts to work. The problem is, whenever I use Get-ExecutionPolicy to check its status, or SetExecutionPolicy for any type, PowerShell crashes giving me:

    an error occurred that was not properly handled (there was more but it is offscreen and can't be scrolled to since the program crashed)

    I am currently using Windows 7 SP1 and attempted to use PowerShell 3.0 to solve my problems. While it didn't crash on any cmdlet I tried, the ExecutionPolicy related cmdlets were removed when I checked with get-command. I unsintalled PowerShell 3.0 and have the same issue with 2.0 crashing.

    What should I do?

    • Edited by Ryan Whitcomb Tuesday, August 27, 2013 10:31 PM added information
    Tuesday, August 27, 2013 10:25 PM