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
> 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