Problem with Powershell RRS feed

  • Question

  • Hi folks

    I've been running little scripts on my PC using Powershell for quite some time. Today I've gone to open Powershell and suddenly it won't run - it immediately closes down again. I can see that it is displaying a message in red but it all flashes past too fast to see it. I've tried without success to capture it with Print Screen.

    The odd thing is that if I use Powershell ISE everything works fine. Does anyone have any ideas? If someone can tell me how I can capture the error message that would be a start.

    The computer is running Windows 10 Pro 64-bit in an enterprise environment.



    • Moved by Bill_Stewart Tuesday, November 7, 2017 11:01 PM This is not break/fix forum
    Monday, October 9, 2017 9:26 AM

All replies

  • Did you try Powershell -NoProfile? If that works there's something in your Powershell profile.

    Grüße - Best regards

    PS:> (79,108,97,102|%{[char]$_})-join''

    • Proposed as answer by I.T Delinquent Monday, October 9, 2017 4:18 PM
    • Unproposed as answer by TV John Tuesday, October 10, 2017 8:46 AM
    Monday, October 9, 2017 10:00 AM
  • Grüße

    Danke, aber das funktionierte auch nicht.

    Sorry, that about exhausts what I remember of German. I did notice the word 'Control' on the briefly flashed message this time, if that helps at all.


    Monday, October 9, 2017 10:09 AM