title: Is there a way to catch ctrl-c and ask the user to confirm?
body: <p>Powershell scripts can easily be terminated by the user pressing ctrl-c. Is there a way for a Powershell script to catch ctrl-c and ask the user to confirm whether he really wanted to terminate the script?</p>