Add to Technorati Favorites
Welcome to ThePowerShellGuy.com Sign in | Join | Help

Little PoSH prank

I came up with this little prank while on IRC,

give this command on a colleague's workstation (he did not lock) in a PowerShell console and minimize it  , and you might have some fun watching him when he gets back ;-)

do {[Windows.Forms.Cursor]::Position = "1,1";sleep 5}until (0)

enjoy,

Greetings /\/\o\/\/

Published Thursday, June 26, 2008 1:22 PM by MoW
Filed under: ,

Comments

# re: Little PoSH prank

for the non v2 users... you need to add this

[system.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms')

Thursday, June 26, 2008 1:51 PM by bsonposh

# re: Little PoSH prank

You say prank, I say easy way to bypass the screen saver.  It's always the simple stuff that you love the most.

Friday, July 04, 2008 1:53 PM by glnsize

# re: Little PoSH prank

@ glnsize

LOL, actualy the IRC discussionwas about that, so I came up with it.

*discaimer* this is not something I would advice to do ;-)

enjoy,

Greetings/\/\o\/\/

Saturday, July 05, 2008 1:13 PM by MoW
Anonymous comments are disabled