Skip to content

Instantly share code, notes, and snippets.

@tomekowal
Created May 8, 2017 18:34
Show Gist options
  • Save tomekowal/aaaa5bbb4b6e94ac572e60a7b2175629 to your computer and use it in GitHub Desktop.
Save tomekowal/aaaa5bbb4b6e94ac572e60a7b2175629 to your computer and use it in GitHub Desktop.
$player = New-Object System.Media.SoundPlayer "$env:windir\Media\notify.wav"
while ($true) {$player.Play(); sleep 5}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment