It is really a smart idea to catch and re-raise KeyboardInterrupts, so as to however eliminate the program utilizing Ctrl-C. Logging is outside the scope of the dilemma, but a very good solution is logging. Documentation to the sys and traceback modules. I am seeking to publish a PowerShell script https://helpmehigh.com/