1 2 3 4 5 6 7 8 9 10 11 12 |
#Beep function #Generates simple tones on the speaker #Beep(Freq,Duration) #Freq: The frequency of the sound, in hertz #Duration: The duration of the sound, in milliseconds #Examples #250Hz [System.Console]::Beep(250,3000) #500Hz [System.Console]::Beep(500,3000) #800Hz [System.Console]::Beep(800,3000) |