PowerShell default is that when you click inside the PowerShell console, PowerShell goes into "select mode" and pauses the script until you hit space, enter or escape.
I have a Script with an infinite-loop while ($true) {}
which should always run, how can I tell PowerShell to not stop the script when someone accidentally clicks into the PowerShell window?