This module is a simple PowerShell module that allows for control of media playback through the command line by sending emulated virtual keystrokes.
To install this module, please follow these steps:
- Open your PowerShell console and navigate to the directory where you would like to install the module:
cd %USERPROFILE%/Documents/PowerShell/Modules
- Run the command to clone the module repository:
git clone https://github.com/Sideral-Tech/MediaControls.git
- Edit your PowerShell profile and add the following line:
Import-Module MediaControls
The following commands can be used to control media playback:
PlayPause # Play or pause the currentsong
StopMusic # Stop the currentsong
NextSong # Play the nextsong
PreviousSong # Play the previoussong
VolumeUp # Increase the system volume
VolumeDown # Decrease the system volume
MuteSound # Mute the sound system-wide
Please be aware that this module is intended for internal use only and should not be shared or distributed outside of Sideral Technologies. Unauthorized use of this script will result in severe disciplinary action, including termination of employment. Misuse of company resources will not be tolerated. If you have any questions or issues, please contact the IT department immediately.
Sideral Technologies will not be held responsible for any unauthorized or illegal use of this script. Use of this script is at your own risk and any consequences resulting from such use will be borne solely by the user.