Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Hi im new my names re3t - Making Powershell talk and sing

$
0
0

Hi, im new, Instead of a boreing introduction I decided to do it this way.

This is to demonstrate how fun powershell can be :)

 

(New-Object –ComObject SAPI.SPVoice).Speak(“hello everyone at power shell dot com my name is r e 3 T  nice to meet you all”);
sleep -seconds 1
(New-Object –ComObject SAPI.SPVoice).Speak(“power shell is so cool i am happy we can discuss it at power shell dot com”);
sleep -seconds 1
(New-Object –ComObject SAPI.SPVoice).Speak(“Now for your pleasure i will now play The Imperial March from star wars yes you heard that right hail lord vader long live the Empire”);
[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)


Viewing all articles
Browse latest Browse all 6937

Trending Articles