$soundFile="C:\Windows\media\tada.wav"
$sound = new-Object System.Media.SoundPlayer
$sound.SoundLocation=$soundFile
$sound.Play()
Categories:
$soundFile="C:\Windows\media\tada.wav"
$sound = new-Object System.Media.SoundPlayer
$sound.SoundLocation=$soundFile
$sound.Play()