RandomizedHarmony

  • Blog
  • Philosophy Of Work
  • About

Exiting a loop with a keypress

August 31, 2018 by Paul DeArment in PowerShell

I often let loops exit and terminate themselves when writing my scripts, but once in a while I want to be able to exit out of the script and let the rest of the script continue on. It’s not difficult to implement this, and with a few lines can easily be implemented.

Read More
August 31, 2018 /Paul DeArment
Loop, PowerShell
PowerShell
Comment

Powered by Squarespace