One-liner: Pop up a message box

PowerScripting Podcast

You could paste this into a scheduled task or something if you want an annoying reminder to pop up on your screen.  :)  Now if only schtasks.exe was as easy to use as PowerShell…

PowerShell -NoProfile -NonInteractive -Command [reflection.assembly]::loadwithpartialname('system.windows.forms'); [system.Windows.Forms.MessageBox]::show('reminder: buy milk')

Comments are closed.