PowerShell execution is paused

Not long ago and just because of a coincidence, I found something strange in PowerShell.
I was executing a script, but this execution took a long, long time and nothing succeeded. I was just waiting, but there wasn’t any error report and the script didn’t finish. The only thing I saw it was a selected point on the PowerShell screen.
So, what has happened? The answer is simple: when you have a selected area on the PowerShell screen, the execution of any command is paused. If you want to resume a command, just right click anywhere in PowerShell window (removing the selection). That’s all, the work will resume.
A simple trick, a simple thing that could be useful just for reading some output informations or for avoiding problems like “Why is it taking so much time to do this?”

PS1.

Recommended Reading

Discuss

Your email address will not be published. Required fields are marked *