Skip to content

Instantly share code, notes, and snippets.

@noahpeltier
Created April 18, 2019 03:31
Show Gist options
  • Save noahpeltier/e2fead178cd4d881c5a9291a04129d1b to your computer and use it in GitHub Desktop.
Save noahpeltier/e2fead178cd4d881c5a9291a04129d1b to your computer and use it in GitHub Desktop.
Add-Type -AssemblyName presentationCore
$Player = New-Object system.windows.media.mediaplayer
$player.Open("http://djbloom.info/Music/My%20Music/AC%20DC/06%20Back%20in%20Black.wma")
$player.Play()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment