As the all powerful sys admin, you have access to fantastic tools to play pranks on your co-workers…namely their own PCs. Try out some of these pranks and watch the confusion on your co-worker’s faces.
Does your co-worker have his speakers on? Good. Send this PowerShell cmdlet to send a surprise verbal message. If you’ve got a particularly gullible co-worker, maybe you’ll even convince them someone is trapped inside their computer.
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
Just substitute the Hello…with a phrase of your choice and you’re ready to deploy your .ps1 script. Read the full PowerShell blog by Kris to see how to add modifications such as slowing down, or speeding up speech and more.
If you’ve got a WAV file handy, it’s pretty simple to play some tunes on an unsuspecting co-worker’s machine. I hope they have their speakers turned up for this one!
(New-Object Media.SoundPlayer "C:\temp\Jack Johnson - Unfortunate Fool.wav").PlaySync()
See the full blog post to see options for using MP3 and other files, as well as how to get your .ps1 file deployed successfully.
Happy April Fools! Looking for more April Fools Day pranks for sys admins? Check out this thread at /r/sysadmin. Share your success stories in the comments. Have a prank you like to pull using your sys admin powers? We’d love to hear about it!
Did you know that PDQ Deploy has a PowerShell step you can use to deploy your scripts?