scripting - Powershell Loop Freezing, waiting for enter when there is no input needed -


i have powershell script looping while connecting server, , checking see if jobs done. checks, sleeps 60 seconds , checks again. script keep checking until no jobs found.

however, every , then, script hangs no reason. if hit enter, starts again. there no input in entire script. @ no point grab host. why doing , how can prevent it? it's no automation if have randomly hit enter no reason.

btw, using powershell 2.0.

thanks in advance

is running in console window? if have managed start select (with mouse): title should have changed start "select".

when selecting console window frozen... , if 1 character cell selected can hard spot...


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -