Hey Oisin,
hrmpf, I had to look at Beep Method, not Beep Function
Parameters
frequency
Type: System..::.Int32
The frequency of the beep, ranging from 37 to 32767 hertz.
duration
Type: System..::.Int32
The duration of the beep measured in milliseconds.
Best Regards,
Jacob Saaby Nielsen
http://www.pipforhelvede.net
gmail: jacob DOT saaby
hotmail (IM/LinkedIN/Facebook): same as gmail
Quote:
> On Jan 17, 10:51 pm, "IT Staff" <jkk...@xxxxxx> wrote:
> Quote:
>> Is it possible to to continous beeping for x seconds using [console]
>> class
>>
>> "Oisin Grehan [MVP]" <ois...@xxxxxx> wrote in
>> messagenews:55ac1d97-0e9e-4734-8aac-c0e7f6272329@xxxxxx
>> ps.com...
>>
>> On Jan 17, 10:12 pm, "IT Staff" <jkk...@xxxxxx> wrote:
>> Quote:
>>> is there a default beep sound from powershell i can called ?
>>>
>> Traditionally ASCII value 7 (BEL) is used to trigger a beep from a
>> host:
>>
>> PS> [char]7
>>
>> but the .NET way to do it is:
>>
>> PS> [console]::Beep()
>>
>> Hope this helps,
>>
>> - Oisin
>> > Hi,
>
> Use: [console]::beep($frequency, $duration)
>
> - Oisin
>