1

Anyone else have problems when running a PowerShell script, where the script just hangs in one spot until you hit Enter or something on the console window? This happens to me all the time, and for the life of me I cannot figure out why.

Chris
  • 86

1 Answers1

0

I've seen this happen all the time to my sessions.

I often find it's because I've selected some text in the console, sometimes by accident, and it causes the PS console window to stop outputting text.

You can tell if this is the case by the window's title; it will be something like Select Windows PowerShell instead of just Windows PowerShell.

Paused:
enter image description here

Not paused:
enter image description here

GregL
  • 9,870