Wiki Life: Geek


Hello Friends,

Today I’m sharing a very cool bit of Geek information.

Look! Exclusive: Music in Powershell!!!

I was very impressed; it is very Geek.

Open PowerShell and see for yourself; copy and paste from below, run the commands, and enjoy the Music.

Music 1:

The Imperial March (Star Wars)

[console]::beep(440,500)      
[console]::beep(440,500)
[console]::beep(440,500)       
[console]::beep(349,350)       
[console]::beep(523,150)       
[console]::beep(440,500)       
[console]::beep(349,350)       
[console]::beep(523,150)       
[console]::beep(440,1000)
[console]::beep(659,500)       
[console]::beep(659,500)       
[console]::beep(659,500)       
[console]::beep(698,350)       
[console]::beep(523,150)       
[console]::beep(415,500)       
[console]::beep(349,350)       
[console]::beep(523,150)       
[console]::beep(440,1000)

Music 2:

“Mission Impossible”:

[console]::beep(784,150)       
Start-Sleep -m 300        
[console]::beep(784,150)
Start-Sleep -m 300        
[console]::beep(932,150)        
Start-Sleep -m 150        
[console]::beep(1047,150)
Start-Sleep -m 150        
[console]::beep(784,150)        
Start-Sleep -m 300       
[console]::beep(784,150)        
Start-Sleep -m 300       
[console]::beep(699,150)        
Start-Sleep -m 150        
[console]::beep(740,150)        
Start-Sleep -m 150       
[console]::beep(784,150)        
Start-Sleep -m 300       
[console]::beep(784,150)        
Start-Sleep -m 300       
[console]::beep(932,150)        
Start-Sleep -m 150       
[console]::beep(1047,150)
Start-Sleep -m 150       
[console]::beep(784,150)        
Start-Sleep -m 300        
[console]::beep(784,150)        
Start-Sleep -m 300       
[console]::beep(699,150)        
Start-Sleep -m 150        
[console]::beep(740,150)        
Start-Sleep -m 150        
[console]::beep(932,150)        
[console]::beep(784,150)       
[console]::beep(587,1200)        
Start-Sleep -m 75       
[console]::beep(932,150)        
[console]::beep(784,150)        
[console]::beep(554,1200)        
Start-Sleep -m 75        
[console]::beep(932,150)        
[console]::beep(784,150)        
[console]::beep(523,1200)        
Start-Sleep -m 150        
[console]::beep(466,150)        
[console]::beep(523,150)

Execute in PowerShell; see, that’s cool.

 

UPDATE: We made this into a Wiki article – “Music from the Command Line”: Performed by Powershell

 

Follow:
Twitter: @tnwikiday
Facebook: TechNet wiki Day

@WikiNinjas @WikiNinjas_BR

Luiz Henrique Lima Campos
Microsoft MVP,MCT,MCP,MCC,MCDST,MCSA,MCSA+M,MCTS e MCITP
Moderador no Microsoft Answers e TechNet Forums e Membro do TechNet Wiki Community Council
Visite o meu blog: http://luizhenriquelima.wordpress.com
Me siga no twitter: @luizlima

Comments (12)

  1. I had to copy the code into a *.ps1 to run, but very clever.

  2. Yagmoth555 says:

    Very cool !! :o) I imagine myselft putting that in a computer startup script, hehehe

  3. This is hilarious! You should list these in a Wiki article too, so people can add some!

  4. Ah ah !

    @Yagmoth : you should try ! 🙂

  5. Luigi Bruno says:

    Coming soon:"Music from the Command Line". Performed by Powershell, written and directed by Luiz Henrique Lima Campos.

    CLAP! CLAP! CLAP! 😉

  6. Lol, that's funny! Oh PowerShell, is there anything thou can't do?!

  7. Funny Luiz! Excellent!

  8. Durval Ramos says:

    Very cool ! PowerShell orchestra.  =D

  9. Yagmoth555 says:

    @Benoit, Yes, or with a GPO to an entire IT's park, it could be funny  😛

  10. You ask, we got it.

    social.technet.microsoft.com/…/20989.music-from-the-command-line-performed-by-powershell.aspx

    Music from the Command Line". Performed by Powershell, written and directed by Luiz Henrique Lima Campos.

  11. Thanks, Peter!

    I did a basic grammar pass and added in a link to Peter's article!

Skip to main content