One-liner: Pop up a message box

3 03 2008

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’)


Actions

Information

2 responses to “One-liner: Pop up a message box”

24 03 2008
Lets take a look at Liner Assemblers » Blog Archive » ‘liner assembler’ on the web (18:53:09) :

[...] http://powerscripting.wordpress.com/2008/03/03/one-liner-pop-up-a-message-box/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&#821 [...]

29 03 2008
Lets take a look at Liner Assemblers » Blog Archive » Quick scan of the net - liner assembler (13:54:07) :

[...] http://powerscripting.wordpress.com/2008/03/03/one-liner-pop-up-a-message-box/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&#821 [...]

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>