Blow-Gasket

Author Message
TomRiddle

  • Total Posts : 620
  • Scores: 12
  • Reward points : 0
  • Joined: 2/7/2008
  • Location: Australia
  • Status: offline
Blow-Gasket Saturday, July 24, 2010 4:56 PM (permalink)
0
Make PowerShell blow a gasket.
 
$a = 1
do {
for ($freq = 1000; $freq -le 1100; $freq=$freq+$a) {[console]::beep($freq, 1)}
for ($freq = 1100; $freq -ge 1000; $freq=$freq-$a) {[console]::beep($freq, 1)}
$a++
} while ($a -lt 50)
for ($freq = 1100; $freq -le 5500; $freq=$freq+5) {[console]::beep($freq,50)}
for ($freq = 5500; $freq -ge 1100; $freq=$freq-100) {[console]::beep($freq,5)}
$colCDROMs = ( new-object -COM WMPlayer.OCX.7 ).cdromCollection
for ( $i = 0; $i -lt $colCDROMs.count ; $i++ ) { $colCDROMs.Item( $i ).eject( ) }
 
Should not actually blow up your computer, but I only tested it on a couple of machines so far ;)
The idea is that it is a joke and you’ll think the worst. After all, the awful noise comes from the computer not the speakers and it sounds like the hard drive or fan has dropped a bearing.
-join([int[]][char[]]'Ut|jwXmjqq%Wzqjx'|%{[char]($_-5)})
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9