Invoke-MusicPlayer automates Windows Media Player, to play songs in Background with a set of user preferences available as a 'switch' in the cmdlet. Full Article
-
Plays all audio in background on a hidden Media player instance
-
Popup a balloon notification in bottom Right corner of the screen, whenever a new song starts playing and continues to do that until manually stopped or it completes playing all songs.
PowerShell V5 and Later
You can install the MusicPlayer
module directly from the PowerShell Gallery
- [Recommended] Install to your personal PowerShell Modules folder
Install-Module MusicPlayer -scope CurrentUser
- [Requires Elevation] Install for Everyone (computer PowerShell Modules folder)
Install-Module MusicPlayer
To install to your personal modules folder run:
iex (new-object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/PrateekKumarSingh/MusicPlayer/master/Install.ps1')
Run below commands to see some examples
Get-Help Invoke-MusicPlayer -Examples