Why does 'msg * alarm' disappear after a while?
问题 I have a small powershell script which allows me to quickly set an alarm for myself. It basically just waits a specified number of minutes and then calls msg * alarm! This works well - a message box pops up. The only problem is it disappears after a while - so if I'm not at my desk, I'll miss the message box. According to the documentation, found here, this is the behaviour when I don't specify a time value. /time: seconds : Specifies the amount of time the message you sent is displayed on