Share via


PowerShell script code to play sound to get user attention

Recent times I saw many scripts which plays an Alert sound to get user attention.

Many used speech synthesis - few called WAV files and played.

This is a Great Post

Alternate Way to do in PowerShell

 
[System.Media.SystemSounds]::Hand.Play() 

Enjoy PowerShell :)