0

Why power-shell script execution stops when windows is idle. Its so frustrating every time when i run a large scripts and go for a walk and when comeback i see the scripts stopped .Once i log in then it starts to continue.

What is the solution for this so that my scripts never stops executing during this idle time

  • I don't know much about PowerShell, but try this: https://stackoverflow.com/questions/185575/powershell-equivalent-of-bash-ampersand-for-forking-running-background-proce – Janos Vinceller Oct 12 '20 at 18:50
  • 3
    They shouldn't. [Edit] the question and include a [mcve] that demonstrates stopping. – vonPryz Oct 12 '20 at 19:17
  • It's more likely a sleep/hibernation issue if anything but as vonPryz said, provide a MRE – Doug Maurer Oct 12 '20 at 19:30

0 Answers0