GenXdev.Console
A Windows PowerShell module for enhancing the commandline experience
* ✅ text-to-speech
* ✅ spotify control
* ✅ microsoft Shell helpers
* ✅ after installation, use 'cmds' to see full list of installed GenXdev cmdslets
Install-Module "GenXdev.Console"
Import-Module "GenXdev.Console"
Update-Module
Command | aliases | Description |
---|---|---|
Enable-Screensaver | Starts the configured Windows screensaver. | |
Get-IsSpeaking | iss | Returns true if the text-to-speech engine is speaking. |
New-MicrosoftShellTab | x | Creates a new Windows Terminal tab running PowerShell. |
Now | Returns the current system date and time as a DateTime object. | |
Open-MediaFile | vlcmedia, media | Plays media files using VLC player with flexible filtering options. |
SayDate | Speaks the current date using text-to-speech synthesis. | |
SayTime | Announces the current time using text-to-speech. | |
Set-LocationParent | .. | Changes the current location to the parent directory and lists its contents. |
Set-LocationParent2 | ... | Navigates up two directory levels in the file system hierarchy. |
Set-LocationParent3 | Navigates up three directory levels in the file system hierarchy. | |
Set-LocationParent4 | ..... | Navigates up four directory levels in the filesystem hierarchy. |
Set-LocationParent5 | Navigates up five directory levels in the file system hierarchy. | |
Set-MonitorPowerOff | poweroff | Turns off power to all connected monitors. |
Set-MonitorPowerOn | wake-monitor | Turns the monitor power on. |
Set-VLCPlayerFocused | showvlc, vlcf, fvlc | Sets focus to the VLC media player window. |
Start-TextToSpeech | say | Converts text to speech using the Windows Speech API. |
Stop-TextToSpeech | sst | Immediately stops any ongoing text-to-speech output. |
UtcNow | Gets the current UTC (Coordinated Universal Time) date and time. |
Command | aliases | Description |
---|---|---|
Add-SpotifyNewPlaylist | newplaylist | Creates a new Spotify playlist with customizable settings. |
Add-SpotifyTracksToLiked | like | Adds tracks to the user's Spotify liked songs library. |
Add-SpotifyTracksToPlaylist | addtoplaylist | Adds tracks to a Spotify playlist. |
Connect-SpotifyApiToken | Authenticates with Spotify API using OAuth flow to obtain an access token. | |
Get-SpotifyActiveDevice | Returns all currently active Spotify devices for the current user. | |
Get-SpotifyApiToken | Retrieves or generates a valid Spotify API authentication token. | |
Get-SpotifyCurrentlyPlaying | gcp | Returns information about the currently playing track on Spotify. |
Get-SpotifyDevice | get-spotifydevices | Returns all currently available Spotify devices for current user. |
Get-SpotifyLikedTrack | liked | Retrieves all tracks saved in the user's Spotify Library. |
Get-SpotifyLyrics | lyrics | Retrieves lyrics for Spotify tracks from Musixmatch.com |
Get-SpotifyPlaylistIdsByName | Retrieves Spotify playlist IDs by their names. | |
Get-SpotifyPlaylistTrack | getplaylist | Returns all tracks from a Spotify playlist. |
Get-SpotifyTrackAudioFeatures | audiofeatures | Retrieves audio feature information for one or more Spotify tracks. |
Get-SpotifyTrackById | gettrack | Retrieves detailed track information from Spotify using a track ID. |
Get-SpotifyUserPlaylists | gupl | Returns a collection of Spotify playlists owned by the current user. |
Move-SpotifyLikedTracksToPlaylist | moveliked | Moves all liked tracks from your Spotify library to specified playlist(s) |
Remove-SpotifyTracksFromLiked | dislike | Removes tracks from the user's Spotify Library (Liked Songs). |
Remove-SpotifyTracksFromPlaylist | removefromplaylist | Removes tracks from a Spotify playlist. |
Search-Spotify | sm, fm | Performs a Spotify search and returns matching items. |
Search-SpotifyAndEnqueue | smq, fmq | Searches Spotify and adds the first matching item to the playback queue. |
Search-SpotifyAndPlay | smp, fmp | Performs a Spotify search and plays the first found item. |
Set-SpotifyActiveDevice | set-spotifydevice | Sets the active Spotify playback device. |
Set-SpotifyApiToken | Caches a Spotify API token for later use in the local configuration. | |
Set-SpotifyNext | next, skip | Skips to next track on Spotify. |
Set-SpotifyPause | pausemusic, resume-music | Pauses Spotify playback |
Set-SpotifyPlaylistDetails | spld | Sets the main properties of a Spotify playlist. |
Set-SpotifyPlaylistOrder | ||
Set-SpotifyPrevious | previous, prev | Skips to the previous track in Spotify playback. |
Set-SpotifyRepeatContext | repeat | Enables playlist repeat mode for Spotify playback. |
Set-SpotifyRepeatOff | norepeat, repeatoff | Disables Spotify repeat mode for the currently active device. |
Set-SpotifyRepeatSong | repeatsong | Enables song repeat mode in Spotify. |
Set-SpotifyShuffleOff | noshuffle, shuffleoff | Disables Spotify song-shuffle mode on the active device. |
Set-SpotifyShuffleOn | shuffle, shuffleon | Enables Spotify song-shuffle mode. |
Set-SpotifyStart | play, start-music | Starts Spotify playback on the currently active device. |
Set-SpotifyStop | stop | Stops Spotify playback on the active device. |
Command | aliases | Description |
---|---|---|
Open-VlcMediaPlayer | vlc | Launches and controls VLC Media Player with extensive configuration options. |
Open-VlcMediaPlayerLyrics | vlclyrics | |
Start-VlcMediaPlayerNextInPlaylist | ||
Start-VlcMediaPlayerPreviousInPlaylist | ||
Switch-VlcMediaPlayerMute | ||
Switch-VLCMediaPlayerPaused | ||
Switch-VlcMediaPlayerRepeat |
NAME Enable-Screensaver
SYNOPSIS Starts the configured Windows screensaver.
SYNTAX Enable-Screensaver []
DESCRIPTION Activates the Windows system screensaver by executing the default screensaver executable (scrnsave.scr) with the /s switch to start it immediately.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This function requires the Windows screensaver to be properly configured in the
system settings. The screensaver executable must exist at the default Windows
System32 location.
-------------------------- EXAMPLE 1 --------------------------
PS > Enable-Screensaver
RELATED LINKS
NAME Get-IsSpeaking
SYNOPSIS Returns true if the text-to-speech engine is speaking.
SYNTAX Get-IsSpeaking []
DESCRIPTION Checks the state of both the default and customized speech synthesizers to determine if either is currently speaking. Returns true if speech is in progress, false otherwise.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS System.Boolean
-------------------------- EXAMPLE 1 --------------------------
PS > Get-IsSpeaking
-------------------------- EXAMPLE 2 --------------------------
PS > iss
RELATED LINKS
NAME New-MicrosoftShellTab
SYNOPSIS Creates a new Windows Terminal tab running PowerShell.
SYNTAX New-MicrosoftShellTab [-DontCloseThisTab] [-WhatIf] [-Confirm] []
DESCRIPTION Opens a new Windows Terminal tab by simulating the keyboard shortcut Ctrl+Shift+T. The function brings the PowerShell window to the foreground, sends the keystroke combination, and optionally closes the current tab after a delay.
PARAMETERS -DontCloseThisTab [] When specified, prevents the current tab from being closed after creating the new tab. By default, the current tab will close after 3 seconds.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > New-MicrosoftShellTab -DontCloseThisTab
Creates a new terminal tab while keeping the current tab open.
-------------------------- EXAMPLE 2 --------------------------
PS > x
Creates a new terminal tab and closes the current one after 3 seconds.
RELATED LINKS
NAME Now
SYNOPSIS Returns the current system date and time as a DateTime object.
SYNTAX Now []
DESCRIPTION Provides a simple way to get the current system date and time without any parameters. Returns a standard .NET DateTime object that can be used for datetime calculations, formatting, and comparisons.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS System.DateTime
-------------------------- EXAMPLE 1 --------------------------
PS > Now
Returns the current system date and time as a DateTime object
-------------------------- EXAMPLE 2 --------------------------
PS > $timestamp = Now
Stores the current date and time in a variable for later use
RELATED LINKS
NAME Open-MediaFile
SYNOPSIS Plays media files using VLC player with flexible filtering options.
SYNTAX Open-MediaFile [[-SearchMask] <String[]>] [-Keywords <String[]>] [-AllDrives] [-NoRecurse] [-OnlyVideos] [-OnlyAudio] [-OnlyPictures] [-IncludeVideos] [-IncludeAudio] [-IncludePictures] [[-KeysToSend] <String[]>] [-Escape] [-ShiftEnter] [-DelayMilliSeconds ] [-Monitor ] [-NoBorders] [-Width ] [-Height ] [-X ] [-Y ] [-Left] [-Right] [-Top] [-Bottom] [-Centered] [-Fullscreen] [-PassThru] [-AlwaysOnTop] [-Random] [-Loop] [-Repeat] [-StartPaused] [-PlayAndExit] [-DisableAudio] [-ReplayGainMode ] [-ReplayGainPreamp ] [-ForceDolbySurround ] [-AudioFilters <String[]>] [-Visualization ] [-Deinterlace ] [-DeinterlaceMode ] [-AspectRatio ] [-Crop ] [-AutoScale] [-VideoFilters <String[]>] [-SubtitleFile ] [-DisableSubtitles] [-SubtitleScale ] [-SubtitleLanguage ] [-AudioLanguage ] [-PreferredAudioLanguage ] [-HttpProxy ] [-HttpProxyPassword ] [-VerbosityLevel ] [-SubdirectoryBehavior ] [-IgnoredExtensions ] [-HighPriority] [-EnableTimeStretch] [-VLCPath ] [-NewWindow] [-EnableWallpaperMode] [-VideoFilterModules <String[]>] [-Modules <String[]>] [-AudioFilterModules <String[]>] [-AudioVisualization ] [-PreferredSubtitleLanguage ] [-IgnoredFileExtensions ] [-EnableAudioTimeStretch] [-Arguments ] [-SideBySide] []
DESCRIPTION This function scans for media files in the specified directory, filters them based on file type and optional keywords, creates a playlist, and launches VLC player. It supports videos, audio files and pictures with automatic installation of VLC if needed.
PARAMETERS -SearchMask <String[]> File pattern to filter media files. Default is "*".
Required? false
Position? 1
Default value *
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? true
-Keywords <String[]>
Keywords to search for in subtitle files (.srt) and media descriptions.
Required? false
Position? named
Default value @()
Accept pipeline input? false
Aliases
Accept wildcard characters? true
-AllDrives [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoRecurse [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-OnlyVideos [<SwitchParameter>]
Filter to only include video files in the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-OnlyAudio [<SwitchParameter>]
Filter to only include audio files in the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-OnlyPictures [<SwitchParameter>]
Filter to only include picture files in the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IncludeVideos [<SwitchParameter>]
Additionally include video files in the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IncludeAudio [<SwitchParameter>]
Additionally include audio files in the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IncludePictures [<SwitchParameter>]
Additionally include picture files in the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-KeysToSend <String[]>
Keystrokes to send to the VLC window.
Required? false
Position? 2
Default value @("f")
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Escape [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ShiftEnter [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DelayMilliSeconds <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Monitor <Int32>
Monitor to display VLC on (-1=discard, 0=default).
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoBorders [<SwitchParameter>]
Removes window borders.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Width <Int32>
Initial window width.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Height <Int32>
Initial window height.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-X <Int32>
Initial window X position.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Y <Int32>
Initial window Y position.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Left [<SwitchParameter>]
Places window on left side of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Right [<SwitchParameter>]
Places window on right side of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Top [<SwitchParameter>]
Places window on top of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Bottom [<SwitchParameter>]
Places window on bottom of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Centered [<SwitchParameter>]
Centers the window on screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Fullscreen [<SwitchParameter>]
Maximizes the window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Returns the window helper for each VLC process.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AlwaysOnTop [<SwitchParameter>]
Keeps VLC window always on top.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Random [<SwitchParameter>]
Enables random playback order or shuffle.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Loop [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Repeat [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-StartPaused [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PlayAndExit [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableAudio [<SwitchParameter>]
Audio Options
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainMode <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainPreamp <Single>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ForceDolbySurround <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilters <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Visualization <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Deinterlace <String>
Video Options
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DeinterlaceMode <String>
Sets deinterlacing mode.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AspectRatio <String>
Sets video aspect ratio.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Crop <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AutoScale [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilters <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleFile <String>
Specifies external subtitle file.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableSubtitles [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleScale <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleLanguage <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioLanguage <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredAudioLanguage <String>
Sets preferred audio language.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxy <String>
Network Options
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxyPassword <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VerbosityLevel <Int32>
Advanced Options
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubdirectoryBehavior <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredExtensions <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HighPriority [<SwitchParameter>]
Performance Options
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableTimeStretch [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VLCPath <String>
Required? false
Position? named
Default value "${env:ProgramFiles}\VideoLAN\VLC\vlc.exe"
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NewWindow [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableWallpaperMode [<SwitchParameter>]
Enables wallpaper mode.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilterModules <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Modules <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilterModules <String[]>
Specifies audio filter modules to use.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioVisualization <String>
Sets audio visualization mode.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredSubtitleLanguage <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredFileExtensions <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableAudioTimeStretch [<SwitchParameter>]
Enables audio time stretching.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Arguments <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SideBySide [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > # Play all media in current directory
Open-MediaFile
-------------------------- EXAMPLE 2 --------------------------
PS > # Play only pictures from Pictures folder
vlc ~\Pictures -OnlyPictures
-------------------------- EXAMPLE 3 --------------------------
PS > # Play videos containing "birthday" in subtitles
media ~\Videos -Keywords "birthday" -OnlyVideos
RELATED LINKS
NAME SayDate
SYNOPSIS Speaks the current date using text-to-speech synthesis.
SYNTAX SayDate []
DESCRIPTION Converts the current date into a natural language format and announces it using the system's text-to-speech engine. The date is spoken in the format: "It is [day of week], [month] [day] [year]"
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > SayDate
# Announces today's date using text-to-speech
RELATED LINKS
NAME SayTime
SYNOPSIS Announces the current time using text-to-speech.
SYNTAX SayTime []
DESCRIPTION This function gets the current time and uses the system's text-to-speech engine to verbally announce it in hours and minutes format. It's useful for accessibility purposes or when you need an audible time announcement.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > SayTime
# Speaks the current time, e.g. "The time is 14 hours and 30 minutes"
RELATED LINKS
NAME Set-LocationParent
SYNOPSIS Changes the current location to the parent directory and lists its contents.
SYNTAX Set-LocationParent [-WhatIf] [-Confirm] []
DESCRIPTION This function navigates up one directory level in the file system hierarchy and displays the contents of the new current directory. It provides a convenient '..' alias for quick directory navigation.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-LocationParent
-------------------------- EXAMPLE 2 --------------------------
PS > ..
RELATED LINKS
NAME Set-LocationParent2
SYNOPSIS Navigates up two directory levels in the file system hierarchy.
SYNTAX Set-LocationParent2 [-WhatIf] [-Confirm] []
DESCRIPTION Changes the current working directory to the grandparent directory (two levels up) and displays the contents of the resulting directory.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This function supports -WhatIf and -Confirm parameters through ShouldProcess.
-------------------------- EXAMPLE 1 --------------------------
PS > Set-LocationParent2
-------------------------- EXAMPLE 2 --------------------------
PS > ...
RELATED LINKS
NAME Set-LocationParent3
SYNOPSIS Navigates up three directory levels in the file system hierarchy.
SYNTAX Set-LocationParent3 [-WhatIf] [-Confirm] []
DESCRIPTION Changes the current working directory by moving up three parent directories in the filesystem hierarchy and displays the contents of the resulting directory.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-LocationParent3
-------------------------- EXAMPLE 2 --------------------------
PS > ....
RELATED LINKS
NAME Set-LocationParent4
SYNOPSIS Navigates up four directory levels in the filesystem hierarchy.
SYNTAX Set-LocationParent4 [-WhatIf] [-Confirm] []
DESCRIPTION Provides a convenient way to move up four directory levels from the current location in the filesystem. After navigation, displays the contents of the resulting directory.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
The alias '.....'' represents moving up four parent directories, where each dot
represents one level up.
-------------------------- EXAMPLE 1 --------------------------
PS > Set-LocationParent4
-------------------------- EXAMPLE 2 --------------------------
PS > .....
RELATED LINKS
NAME Set-LocationParent5
SYNOPSIS Navigates up five directory levels in the file system hierarchy.
SYNTAX Set-LocationParent5 [-WhatIf] [-Confirm] []
DESCRIPTION Changes the current working directory by moving up five parent directory levels and displays the contents of the resulting directory. This function provides a convenient shorthand alias '......' for quick navigation.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-LocationParent5
-------------------------- EXAMPLE 2 --------------------------
PS > ......
RELATED LINKS
NAME Set-MonitorPowerOff
SYNOPSIS Turns off power to all connected monitors.
SYNTAX Set-MonitorPowerOff [-WhatIf] [-Confirm] []
DESCRIPTION Uses Windows API calls to send a power-off signal to all connected monitors. This is equivalent to pressing the physical power button on your monitors. The monitors will enter power saving mode but can be awakened by moving the mouse or pressing a key.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-MonitorPowerOff
-------------------------- EXAMPLE 2 --------------------------
PS > poweroff
RELATED LINKS
NAME Set-MonitorPowerOn
SYNOPSIS Turns the monitor power on.
SYNTAX Set-MonitorPowerOn [-WhatIf] [-Confirm] []
DESCRIPTION Uses the Windows API through GenXdev.Helpers.WindowObj to wake up the monitor from sleep/power off state. This is useful for automation scripts that need to ensure the monitor is powered on.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-MonitorPowerOn
-------------------------- EXAMPLE 2 --------------------------
PS > wake-monitor
RELATED LINKS
NAME Set-VLCPlayerFocused
SYNOPSIS Sets focus to the VLC media player window.
SYNTAX Set-VLCPlayerFocused [-WhatIf] [-Confirm] []
DESCRIPTION Locates a running instance of VLC media player and brings its window to the foreground, making it the active window. If VLC is not running, silently continues without error. Uses Windows API calls to manipulate window focus.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-VLCPlayerFocused
# Brings the VLC player window to front and gives it focus
-------------------------- EXAMPLE 2 --------------------------
PS > vlcf
# Same operation using the short alias
RELATED LINKS
NAME Start-TextToSpeech
SYNOPSIS Converts text to speech using the Windows Speech API.
SYNTAX Start-TextToSpeech [-Lines] <String[]> [-Locale ] [-VoiceName ] [-PassThru] [-Wait] [-WhatIf] [-Confirm] []
DESCRIPTION Uses the Windows Speech API to convert text to speech. This function provides flexible text-to-speech capabilities with support for different voices, locales, and synchronous/asynchronous playback options. It can handle both single strings and arrays of text, with error handling for speech synthesis failures.
PARAMETERS -Lines <String[]> The text to be spoken. Accepts single string or array of strings. Each line will be processed sequentially for speech synthesis.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Aliases
Accept wildcard characters? false
-Locale <String>
The language locale ID to use (e.g., 'en-US', 'es-ES'). When specified, the
function will attempt to use a voice matching this locale.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VoiceName <String>
The specific voice name to use for speech synthesis. If specified, the function
will attempt to find and use a matching voice from installed voices.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
When specified, outputs the text being spoken to the pipeline, allowing for
text processing while speaking.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Wait [<SwitchParameter>]
When specified, waits for speech to complete before continuing execution.
Useful for synchronous operations.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Start-TextToSpeech -Lines "Hello World" -Locale "en-US" -Wait
-------------------------- EXAMPLE 2 --------------------------
PS > "Hello World" | say
RELATED LINKS
NAME Stop-TextToSpeech
SYNOPSIS Immediately stops any ongoing text-to-speech output.
SYNTAX Stop-TextToSpeech [-WhatIf] [-Confirm] []
DESCRIPTION Halts all active and queued speech synthesis by canceling both standard and customized speech operations. This provides an immediate silence for any ongoing text-to-speech activities.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This cmdlet is commonly used in conjunction with Start-TextToSpeech (alias: say)
and Skip-TextToSpeech (alias: sstSkip) for speech control.
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Stop-TextToSpeech
# Immediately stops any ongoing speech
-------------------------- EXAMPLE 2 --------------------------
PS C:\>say "Hello world"; sst
# Starts speaking but gets interrupted immediately
RELATED LINKS
NAME UtcNow
SYNOPSIS Gets the current UTC (Coordinated Universal Time) date and time.
SYNTAX UtcNow []
DESCRIPTION Returns the current UTC date and time as a System.DateTime object. This function provides a standardized way to retrieve UTC time across different systems and time zones. The returned DateTime object can be used for timestamp synchronization, logging, and cross-timezone operations.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS System.DateTime
-------------------------- EXAMPLE 1 --------------------------
PS > $currentUtc = UtcNow
Returns the current UTC time as a DateTime object.
-------------------------- EXAMPLE 2 --------------------------
PS > $timestamp = (UtcNow).ToString("yyyy-MM-dd HH:mm:ss")
Gets the current UTC time and formats it as a string.
RELATED LINKS
NAME Add-SpotifyNewPlaylist
SYNOPSIS Creates a new Spotify playlist with customizable settings.
SYNTAX Add-SpotifyNewPlaylist [-Name] [[-Description] ] [-Public] [-Collabrative] []
DESCRIPTION Creates a new Spotify playlist with the specified name, description, and privacy settings. The function authenticates with Spotify, creates the playlist, and updates the local playlist cache.
PARAMETERS -Name The name for the new playlist. This will be visible to users who can access the playlist.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Description <String>
An optional description for the playlist that provides additional context about
its contents or purpose.
Required? false
Position? 2
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Public [<SwitchParameter>]
When specified, makes the playlist publicly visible to other Spotify users.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Collabrative [<SwitchParameter>]
When specified, allows other users to modify the playlist contents.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS SpotifyAPI.Web.FullPlaylist
-------------------------- EXAMPLE 1 --------------------------
PS > Add-SpotifyNewPlaylist -Name "My Awesome Mix" -Description "Best songs of 2023" -Public
-------------------------- EXAMPLE 2 --------------------------
PS > newplaylist "Road Trip Songs" -Collabrative
RELATED LINKS
NAME Add-SpotifyTracksToLiked
SYNOPSIS Adds tracks to the user's Spotify liked songs library.
SYNTAX Add-SpotifyTracksToLiked [[-TrackId] <String[]>] []
DESCRIPTION This function allows you to add one or more tracks to your Spotify liked songs library. If no track IDs are provided, it will attempt to like the currently playing track.
PARAMETERS -TrackId <String[]> An array of Spotify track IDs that should be added to your liked songs. If not provided, the currently playing track will be liked instead.
Required? false
Position? 1
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Add-SpotifyTracksToLiked -TrackId "spotify:track:123456789"
-------------------------- EXAMPLE 2 --------------------------
PS > like "spotify:track:123456789"
-------------------------- EXAMPLE 3 --------------------------
PS > Get-SpotifyCurrentlyPlaying | Add-SpotifyTracksToLiked
RELATED LINKS
NAME Add-SpotifyTracksToPlaylist
SYNOPSIS Adds tracks to a Spotify playlist.
SYNTAX Add-SpotifyTracksToPlaylist [-PlaylistName] <String[]> [[-Uri] <String[]>] []
Add-SpotifyTracksToPlaylist [-PlaylistId] <String[]> [[-Uri] <String[]>] [<CommonParameters>]
DESCRIPTION Adds one or more tracks to either a named Spotify playlist or a playlist specified by its ID. Supports pipeline input for track URIs.
PARAMETERS -PlaylistName <String[]> The name(s) of the Spotify playlist(s) to add tracks to.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PlaylistId <String[]>
The Spotify playlist ID(s) to add tracks to.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Uri <String[]>
The Spotify track URIs that should be added to the playlist.
Required? false
Position? 2
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Add-SpotifyTracksToPlaylist -PlaylistName "My Favorites" `
-Uri "spotify:track:1234567890"
-------------------------- EXAMPLE 2 --------------------------
PS > "spotify:track:1234567890" | addtoplaylist "My Playlist"
RELATED LINKS
NAME Connect-SpotifyApiToken
SYNOPSIS Authenticates with Spotify API using OAuth flow to obtain an access token.
SYNTAX Connect-SpotifyApiToken []
DESCRIPTION Opens a browser window in application mode to handle the Spotify OAuth authentication flow. Once authenticated, retrieves and stores the access token for subsequent API calls. The browser window automatically closes after successful authentication. Uses port 5642 for the OAuth callback listener.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS System.String Returns the Spotify authentication token as a string.
NOTES
Uses port 5642 as the default callback port for OAuth flow
Minimizes browser window during authentication
Automatically closes browser window after successful authentication
-------------------------- EXAMPLE 1 --------------------------
PS > # Authenticate with Spotify and obtain access token
Connect-SpotifyApiToken
RELATED LINKS
NAME Get-SpotifyActiveDevice
SYNOPSIS Returns all currently active Spotify devices for the current user.
SYNTAX Get-SpotifyActiveDevice []
DESCRIPTION Retrieves a list of Spotify devices that are currently marked as active for the authenticated user's account. This includes devices like phones, computers, speakers, etc. that are currently available to play music.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyActiveDevice
Returns all active Spotify devices for the current user, displaying properties
like name, type, and volume.
RELATED LINKS
NAME Get-SpotifyApiToken
SYNOPSIS Retrieves or generates a valid Spotify API authentication token.
SYNTAX Get-SpotifyApiToken []
DESCRIPTION This function manages Spotify API authentication by either retrieving a cached token or obtaining a new one. It also ensures proper firewall access and validates the token's functionality.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > $token = Get-SpotifyApiToken
RELATED LINKS
NAME Get-SpotifyCurrentlyPlaying
SYNOPSIS Returns information about the currently playing track on Spotify.
SYNTAX Get-SpotifyCurrentlyPlaying []
DESCRIPTION Retrieves detailed information about the track currently playing on Spotify, including track name, artist, album, and playback status using the Spotify Web API.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS SpotifyAPI.Web.CurrentlyPlaying
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Get-SpotifyCurrentlyPlaying
Returns the full currently playing track information object.
-------------------------- EXAMPLE 2 --------------------------
PS C:\>gcp
Uses the alias to get the currently playing track information.
-------------------------- EXAMPLE 3 --------------------------
PS C:\>(Get-SpotifyCurrentlyPlaying).Item.Name
Returns just the name of the currently playing track.
RELATED LINKS
NAME Get-SpotifyDevice
SYNOPSIS Returns all currently available Spotify devices for current user.
SYNTAX Get-SpotifyDevice []
DESCRIPTION Retrieves a list of all Spotify devices that are currently available for the authenticated user. This includes any active or recently active devices such as smartphones, computers, speakers, and other Spotify-enabled devices.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS System.Collections.Generic.List`1[[SpotifyAPI.Web.Device, SpotifyAPI.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Requires valid Spotify authentication token to function. The token is automatically
retrieved using Get-SpotifyApiToken.
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyDevice
This command returns all available Spotify devices for the current user.
RELATED LINKS
NAME Get-SpotifyLikedTrack
SYNOPSIS Retrieves all tracks saved in the user's Spotify Library.
SYNTAX Get-SpotifyLikedTrack []
DESCRIPTION This function authenticates with Spotify using an API token and retrieves all tracks that the user has saved (liked) in their Spotify library. The tracks are returned as collection of track objects containing metadata like title, artist, and album information.
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS System.Collections.Generic.List`1[[SpotifyAPI.Web.SavedTrack, SpotifyAPI.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyLikedTrack
-------------------------- EXAMPLE 2 --------------------------
PS > liked
RELATED LINKS
NAME Get-SpotifyLyrics
SYNOPSIS Retrieves lyrics for Spotify tracks from Musixmatch.com
SYNTAX Get-SpotifyLyrics [-TrackId ] [[-Queries] <String[]>] []
DESCRIPTION Searches for and displays song lyrics by either: - Using a Spotify track ID - Searching for tracks by name/artist - Getting lyrics for currently playing track If lyrics aren't found on Musixmatch, opens a Google search as fallback.
PARAMETERS -TrackId The Spotify track ID to look up lyrics for. If omitted, uses currently playing track or allows searching by name.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Aliases
Accept wildcard characters? false
-Queries <String[]>
Search terms to find a track. Can include artist name and/or song title.
Results will be shown for selection.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyLyrics -TrackId "1301WleyT98MSxVHPZCA6M"
-------------------------- EXAMPLE 2 --------------------------
PS > lyrics "bohemian rhapsody queen"
RELATED LINKS
NAME Get-SpotifyPlaylistIdsByName
SYNOPSIS Retrieves Spotify playlist IDs by their names.
SYNTAX Get-SpotifyPlaylistIdsByName [-PlaylistName] <String[]> []
DESCRIPTION This function searches for Spotify playlists by name and returns their corresponding IDs. It follows a three-step process: 1. Searches in the current session's playlists 2. Checks a local cache file if no results found 3. Forces a fresh fetch if cache is outdated or missing
The function returns all playlist IDs that match the provided names.
PARAMETERS -PlaylistName <String[]> An array of playlist names to search for. The function will match these names against your Spotify playlists and return the IDs of matching playlists.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyPlaylistIdsByName -PlaylistName "My Favorites", "Workout Mix"
-------------------------- EXAMPLE 2 --------------------------
PS > "Chill Vibes" | Get-SpotifyPlaylistIdsByName
RELATED LINKS
NAME Get-SpotifyPlaylistTrack
SYNOPSIS Returns all tracks from a Spotify playlist.
SYNTAX Get-SpotifyPlaylistTrack [-PlaylistName] []
Get-SpotifyPlaylistTrack [-PlaylistId] <String> [<CommonParameters>]
DESCRIPTION Retrieves all tracks from a Spotify playlist by either playlist name or ID. When using playlist name, it will fetch the first matching playlist's ID and then retrieve its tracks using the Spotify API.
PARAMETERS -PlaylistName The name of the Spotify playlist to retrieve tracks from. Will match the first playlist found with this name.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-PlaylistId <String>
The unique Spotify ID of the playlist to retrieve tracks from.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Collections.Generic.List1[[SpotifyAPI.Web.PlaylistTrack
1[[SpotifyAPI.Web.IPlayableItem, SpotifyAPI.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], SpotifyAPI.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyPlaylistTrack -PlaylistName "My Favorite Songs"
-------------------------- EXAMPLE 2 --------------------------
PS > Get-SpotifyPlaylistTrack -PlaylistId "37i9dQZF1DXcBWIGoYBM5M"
-------------------------- EXAMPLE 3 --------------------------
PS > "My Workout Mix" | getplaylist
RELATED LINKS
NAME Get-SpotifyTrackAudioFeatures
SYNOPSIS Retrieves audio feature information for one or more Spotify tracks.
SYNTAX Get-SpotifyTrackAudioFeatures [-TrackId] <String[]> []
DESCRIPTION This function connects to the Spotify API to fetch detailed audio features for the specified tracks. Audio features include characteristics like danceability, energy, key, loudness, mode, speechiness, acousticness, instrumentalness, liveness, valence, tempo, and time signature.
PARAMETERS -TrackId <String[]> One or more Spotify track IDs to analyze. These must be valid Spotify track identifiers.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyTrackAudioFeatures -TrackId "1301WleyT98MSxVHPZCA6M"
-------------------------- EXAMPLE 2 --------------------------
PS > audiofeatures "1301WleyT98MSxVHPZCA6M", "6rqhFgbbKwnb9MLmUQDhG6"
RELATED LINKS
NAME Get-SpotifyTrackById
SYNOPSIS Retrieves detailed track information from Spotify using a track ID.
SYNTAX Get-SpotifyTrackById [-TrackId] []
DESCRIPTION Uses the Spotify Web API to fetch comprehensive track information including artist, album, duration, popularity, and other metadata for a specific track identified by its Spotify track ID.
PARAMETERS -TrackId The unique Spotify track identifier. This is typically a 22-character string that can be found in the Spotify track URL or through the Spotify client.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS SpotifyAPI.Web.FullTrack
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyTrackById -TrackId "3n3Ppam7vgaVa1iaRUc9Lp"
# Returns full track details for "Mr. Brightside" by The Killers
-------------------------- EXAMPLE 2 --------------------------
PS > gettrack "3n3Ppam7vgaVa1iaRUc9Lp"
RELATED LINKS
NAME Get-SpotifyUserPlaylists
SYNOPSIS Returns a collection of Spotify playlists owned by the current user.
SYNTAX Get-SpotifyUserPlaylists [[-Filter] <String[]>] [-Force] []
DESCRIPTION Retrieves all playlists owned by the current Spotify user, with optional filtering. Results are cached for 12 hours to improve performance unless Force is specified.
PARAMETERS -Filter <String[]> Specifies a wildcard pattern to filter playlists by name. Accepts pipeline input. Multiple patterns can be provided.
Required? false
Position? 1
Default value @("*")
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-Force [<SwitchParameter>]
Forces retrieval of fresh data from Spotify API instead of using cached results.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Get-SpotifyUserPlaylists -Filter "Rock*" -Force
-------------------------- EXAMPLE 2 --------------------------
PS > "*Metal*" | gupl
RELATED LINKS
NAME Move-SpotifyLikedTracksToPlaylist
SYNOPSIS Moves all liked tracks from your Spotify library to specified playlist(s)
SYNTAX Move-SpotifyLikedTracksToPlaylist [-PlaylistName] <String[]> []
Move-SpotifyLikedTracksToPlaylist [-PlaylistId] <String[]> [<CommonParameters>]
DESCRIPTION This function retrieves all tracks from your Spotify liked songs library and moves them to one or more specified playlists. After successfully adding the tracks to the target playlist(s), it removes them from your liked songs.
PARAMETERS -PlaylistName <String[]> The name(s) of the Spotify playlist(s) where liked tracks should be moved to. Multiple playlist names can be specified.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-PlaylistId <String[]>
The Spotify ID(s) of the playlist(s) where liked tracks should be moved to.
Multiple playlist IDs can be specified.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Move-SpotifyLikedTracksToPlaylist -PlaylistName "My Archived Likes"
-------------------------- EXAMPLE 2 --------------------------
PS > moveliked "My Archived Likes"
RELATED LINKS
NAME Remove-SpotifyTracksFromLiked
SYNOPSIS Removes tracks from the user's Spotify Library (Liked Songs).
SYNTAX Remove-SpotifyTracksFromLiked [[-TrackId] <String[]>] [-WhatIf] [-Confirm] []
DESCRIPTION Removes one or more tracks from the user's Spotify Liked Songs collection. If no track ID is provided, removes the currently playing track.
PARAMETERS -TrackId <String[]> One or more Spotify track IDs to remove from the Liked Songs collection. If omitted, the currently playing track will be removed.
Required? false
Position? 1
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Remove-SpotifyTracksFromLiked -TrackId "1234567890abcdef"
-------------------------- EXAMPLE 2 --------------------------
PS > dislike "1234567890abcdef"
RELATED LINKS
NAME Remove-SpotifyTracksFromPlaylist
SYNOPSIS Removes tracks from a Spotify playlist.
SYNTAX Remove-SpotifyTracksFromPlaylist [-PlaylistName] <String[]> [[-Uri] <String[]>] [-WhatIf] [-Confirm] []
Remove-SpotifyTracksFromPlaylist [-PlaylistId] <String[]> [[-Uri] <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION Removes one or more tracks from either a named Spotify playlist or a playlist specified by its ID. Supports pipeline input for track URIs.
PARAMETERS -PlaylistName <String[]> The name(s) of the Spotify playlist(s) to remove tracks from.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PlaylistId <String[]>
The Spotify playlist ID(s) to remove tracks from.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Uri <String[]>
The Spotify track URIs that should be removed from the playlist.
Required? false
Position? 2
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Remove-SpotifyTracksFromPlaylist -PlaylistName "My Playlist" `
-Uri "spotify:track:1234567890"
-------------------------- EXAMPLE 2 --------------------------
PS > "spotify:track:1234567890" | removefromplaylist "My Playlist"
RELATED LINKS
NAME Search-Spotify
SYNOPSIS Performs a Spotify search and returns matching items.
SYNTAX Search-Spotify [-Queries] <String[]> [[-SearchType] {Album | Artist | Playlist | Track | Show | Episode | All}] []
DESCRIPTION Searches Spotify's catalog for items matching the provided search query. Can search for tracks, albums, artists, playlists, shows, and episodes. Results are returned through the pipeline.
PARAMETERS -Queries <String[]> One or more search phrases to look up in Spotify's catalog. Multiple queries will be processed sequentially.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-SearchType
The type(s) of items to search for. Valid values are: Album, Artist, Playlist,
Track, Show, Episode, or All. Default is Track.
Required? false
Position? 2
Default value Track
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Search-Spotify -Queries "Rage against the machine" -SearchType Track
-------------------------- EXAMPLE 2 --------------------------
PS > # Using alias and positional parameter
fm "Dire Straits"
RELATED LINKS
NAME Search-SpotifyAndEnqueue
SYNOPSIS Searches Spotify and adds the first matching item to the playback queue.
SYNTAX Search-SpotifyAndEnqueue [-Queries] <String[]> [[-SearchType] {Album | Artist | Playlist | Track | Show | Episode | All}] []
DESCRIPTION Performs a search on Spotify using specified criteria and automatically adds the first matching result to the current playback queue. Supports searching for tracks, albums, artists, playlists, shows, and episodes.
PARAMETERS -Queries <String[]> One or more search phrases to find content on Spotify. Each query is processed sequentially and the first match for each is added to the queue.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-SearchType
Specifies the type(s) of content to search for. Valid options are:
- Track (default)
- Album
- Artist
- Playlist
- Show
- Episode
- All
Required? false
Position? 2
Default value Track
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Search-SpotifyAndEnqueue -Queries "Rage against the machine" -SearchType Track
-------------------------- EXAMPLE 2 --------------------------
PS > fmq "Dire Straits You and your friend"
RELATED LINKS
NAME Search-SpotifyAndPlay
SYNOPSIS Performs a Spotify search and plays the first found item.
SYNTAX Search-SpotifyAndPlay [-Queries] <String[]> [[-SearchType] {Album | Artist | Playlist | Track | Show | Episode | All}] []
DESCRIPTION Searches Spotify using the provided query string and automatically plays the first matching item on the currently active Spotify device. Can search for different types of content including tracks, albums, artists, playlists, shows and episodes.
PARAMETERS -Queries <String[]> One or more search phrases to look for on Spotify. Each query will be processed in sequence.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-SearchType
The type of content to search for. Valid options are:
- Track (default)
- Album
- Artist
- Playlist
- Show
- Episode
- All
Required? false
Position? 2
Default value Track
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Search-SpotifyAndPlay -Queries "Rage against the machine" -SearchType Track
-------------------------- EXAMPLE 2 --------------------------
PS > fmp "Dire Straits You and your friend"
RELATED LINKS
NAME Set-SpotifyActiveDevice
SYNOPSIS Sets the active Spotify playback device.
SYNTAX Set-SpotifyActiveDevice [-DeviceId] [-WhatIf] [-Confirm] []
DESCRIPTION Transfers playback to the specified Spotify device using the Spotify Web API. This cmdlet requires an authenticated Spotify session and a valid device ID. The device ID can be obtained using the Get-SpotifyDevice cmdlet.
PARAMETERS -DeviceId The Spotify device ID to transfer playback to. This is a unique identifier assigned by Spotify to each playback device (speakers, computers, phones, etc.). Use Get-SpotifyDevice to get a list of available device IDs.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS System.Collections.Generic.List`1[[SpotifyAPI.Web.Device, SpotifyAPI.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyActiveDevice -DeviceId "1234567890abcdef"
Transfers playback to the device with ID "1234567890abcdef"
-------------------------- EXAMPLE 2 --------------------------
PS > "1234567890abcdef" | Set-SpotifyActiveDevice
Same as above but using pipeline input
RELATED LINKS
NAME Set-SpotifyApiToken
SYNOPSIS Caches a Spotify API token for later use in the local configuration.
SYNTAX Set-SpotifyApiToken [-ApiToken] [-WhatIf] [-Confirm] []
DESCRIPTION This function stores a provided Spotify API token in a local JSON file for subsequent use by other Spotify-related commands. The token is saved in a dedicated configuration directory under GenXdev.Local.
PARAMETERS -ApiToken The Spotify API authentication token to be cached locally.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyApiToken -ApiToken "YOUR-SPOTIFY-API-TOKEN"
RELATED LINKS
NAME Set-SpotifyNext
SYNOPSIS Skips to next track on Spotify.
SYNTAX Set-SpotifyNext [-WhatIf] [-Confirm] []
DESCRIPTION Advances playback to the next track in the current playlist or album on the currently active Spotify device. This function requires a valid Spotify API token and an active playback session.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyNext
-------------------------- EXAMPLE 2 --------------------------
PS > next
-------------------------- EXAMPLE 3 --------------------------
PS > skip
RELATED LINKS
NAME Set-SpotifyPause
SYNOPSIS Pauses Spotify playback
SYNTAX Set-SpotifyPause [-WhatIf] [-Confirm] []
DESCRIPTION Controls Spotify playback by pausing the currently playing track on the active device. If playback is already paused, this command will resume playback.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyPause
-------------------------- EXAMPLE 2 --------------------------
PS > pausemusic
RELATED LINKS
NAME Set-SpotifyPlaylistDetails
SYNOPSIS Sets the main properties of a Spotify playlist.
SYNTAX Set-SpotifyPlaylistDetails [-PlaylistId] [-Name] [[-Description] ] [-Public] [-Collabrative] [-Private] [-NoCollabrations] [-WhatIf] [-Confirm] []
DESCRIPTION Modifies playlist properties including name, description, visibility and collaboration settings using the Spotify API.
PARAMETERS -PlaylistId The unique identifier of the Spotify playlist to modify.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Name <String>
The new name to set for the playlist.
Required? true
Position? 2
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Description <String>
Optional description text for the playlist.
Required? false
Position? 3
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Public [<SwitchParameter>]
Switch to make the playlist visible to all users.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Collabrative [<SwitchParameter>]
Switch to allow other users to modify the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Private [<SwitchParameter>]
Switch to make the playlist only visible to you.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoCollabrations [<SwitchParameter>]
Switch to prevent other users from modifying the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyPlaylistDetails -PlaylistId "1234567890" -Name "My Playlist" `
-Description "My favorite songs" -Public
-------------------------- EXAMPLE 2 --------------------------
PS > spld "1234567890" "Weekend Mix" -Private -NoCollabrations
RELATED LINKS
NAME Set-SpotifyPlaylistOrder
SYNOPSIS Reorders tracks within a Spotify playlist by moving a range of items to a new position.
SYNTAX Set-SpotifyPlaylistOrder [-PlaylistId] [-RangeStart] [-InsertBefore] [[-RangeLength] <Nullable`1>] [-WhatIf] [-Confirm] []
DESCRIPTION Allows repositioning of one or more tracks within a Spotify playlist by specifying the start position of items to move and their destination position. Requires valid Spotify API authentication.
PARAMETERS -PlaylistId The unique identifier of the Spotify playlist to modify.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-RangeStart <Int32>
The zero-based position index of the first track to be moved.
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-InsertBefore <Int32>
The zero-based position index where the moved tracks should be inserted.
For example, to move items to the end of a 10-track playlist, use 10.
To move items to the start, use 0.
Required? true
Position? 3
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-RangeLength <Nullable`1>
Optional. The number of consecutive tracks to move, starting from RangeStart.
Defaults to 1 if not specified.
Required? false
Position? 4
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyPlaylistOrder -PlaylistId "2v3iNvBX8Ay1Gt2uXtUKUT" `
-RangeStart 5 `
-InsertBefore 0 `
-RangeLength 2
-------------------------- EXAMPLE 2 --------------------------
PS > # Move last track to start of playlist
Set-SpotifyPlaylistOrder "2v3iNvBX8Ay1Gt2uXtUKUT" 9 0
RELATED LINKS
NAME Set-SpotifyPrevious
SYNOPSIS Skips to the previous track in Spotify playback.
SYNTAX Set-SpotifyPrevious [-WhatIf] [-Confirm] []
DESCRIPTION Controls Spotify playback by skipping to the previous track on the currently active device. Requires valid Spotify API authentication token.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyPrevious
-------------------------- EXAMPLE 2 --------------------------
PS > previous
-------------------------- EXAMPLE 3 --------------------------
PS > prev
RELATED LINKS
NAME Set-SpotifyRepeatContext
SYNOPSIS Enables playlist repeat mode for Spotify playback.
SYNTAX Set-SpotifyRepeatContext [-WhatIf] [-Confirm] []
DESCRIPTION Sets the current Spotify context (playlist, album, etc.) to repeat mode on the active device. This affects the entire playback queue rather than a single track.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This cmdlet supports ShouldProcess, allowing use of -WhatIf and -Confirm parameters
to control execution of state-changing operations.
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyRepeatContext
-------------------------- EXAMPLE 2 --------------------------
PS > repeat
RELATED LINKS
NAME Set-SpotifyRepeatOff
SYNOPSIS Disables Spotify repeat mode for the currently active device.
SYNTAX Set-SpotifyRepeatOff [-WhatIf] [-Confirm] []
DESCRIPTION This function disables the repeat mode on the currently active Spotify device using the Spotify Web API. It requires a valid Spotify API token which is automatically retrieved using Get-SpotifyApiToken.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyRepeatOff
-------------------------- EXAMPLE 2 --------------------------
PS > norepeat
-------------------------- EXAMPLE 3 --------------------------
PS > repeatoff
RELATED LINKS
NAME Set-SpotifyRepeatSong
SYNOPSIS Enables song repeat mode in Spotify.
SYNTAX Set-SpotifyRepeatSong [-WhatIf] [-Confirm] []
DESCRIPTION Sets the repeat mode to 'track' for the currently active Spotify device using the Spotify Web API. This will make the current song play repeatedly until repeat mode is disabled.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyRepeatSong
-------------------------- EXAMPLE 2 --------------------------
PS > repeatsong
RELATED LINKS
NAME Set-SpotifyShuffleOff
SYNOPSIS Disables Spotify song-shuffle mode on the active device.
SYNTAX Set-SpotifyShuffleOff [-WhatIf] [-Confirm] []
DESCRIPTION Disables the shuffle playback mode on the currently active Spotify device. This function uses the Spotify Web API to modify the shuffle state of the playback.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyShuffleOff
-------------------------- EXAMPLE 2 --------------------------
PS > noshuffle
-------------------------- EXAMPLE 3 --------------------------
PS > shuffleoff
RELATED LINKS
NAME Set-SpotifyShuffleOn
SYNOPSIS Enables Spotify song-shuffle mode.
SYNTAX Set-SpotifyShuffleOn [-WhatIf] [-Confirm] []
DESCRIPTION Enables shuffle mode on the currently active Spotify playback device. This function requires a valid Spotify API token and an active playback session.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyShuffleOn
-------------------------- EXAMPLE 2 --------------------------
PS > shuffle
RELATED LINKS
NAME Set-SpotifyStart
SYNOPSIS Starts Spotify playback on the currently active device.
SYNTAX Set-SpotifyStart [-WhatIf] [-Confirm] []
DESCRIPTION This function initiates playback on the device that is currently active in Spotify. It uses the Spotify API token to authenticate the request and control playback.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyStart
-------------------------- EXAMPLE 2 --------------------------
PS > play
RELATED LINKS
NAME Set-SpotifyStop
SYNOPSIS Stops Spotify playback on the active device.
SYNTAX Set-SpotifyStop [-WhatIf] [-Confirm] []
DESCRIPTION Stops the currently playing music on the active Spotify device by calling the Spotify Web API. Requires a valid authentication token.
PARAMETERS -WhatIf []
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > Set-SpotifyStop
-------------------------- EXAMPLE 2 --------------------------
PS > stop
-------------------------- EXAMPLE 3 --------------------------
PS > Stop-Music
RELATED LINKS
NAME Open-VlcMediaPlayer
SYNOPSIS Launches and controls VLC Media Player with extensive configuration options.
SYNTAX Open-VlcMediaPlayer [[-Path] <String[]>] [-KeysToSend <String[]>] [-Escape] [-ShiftEnter] [-DelayMilliSeconds ] [-Monitor ] [-NoBorders] [-Width ] [-Height ] [-X ] [-Y ] [-Left] [-Right] [-Top] [-Bottom] [-Centered] [-Fullscreen] [-PassThru] [-AlwaysOnTop] [-Random] [-Loop] [-Repeat] [-StartPaused] [-PlayAndExit] [-DisableAudio] [-ReplayGainMode ] [-ReplayGainPreamp ] [-ForceDolbySurround ] [-AudioFilters <String[]>] [-Visualization ] [-Deinterlace ] [-DeinterlaceMode ] [-AspectRatio ] [-Crop ] [-AutoScale] [-VideoFilters <String[]>] [-SubtitleFile ] [-DisableSubtitles] [-SubtitleScale ] [-SubtitleLanguage ] [-AudioLanguage ] [-PreferredAudioLanguage ] [-HttpProxy ] [-HttpProxyPassword ] [-VerbosityLevel ] [-SubdirectoryBehavior ] [-IgnoredExtensions ] [-HighPriority] [-EnableTimeStretch] [-VLCPath ] [-NewWindow] [-EnableWallpaperMode] [-VideoFilterModules <String[]>] [-Modules <String[]>] [-AudioFilterModules <String[]>] [-AudioVisualization ] [-PreferredSubtitleLanguage ] [-IgnoredFileExtensions ] [-EnableAudioTimeStretch] [-Arguments ] [-Close] [-SideBySide] []
DESCRIPTION Provides a comprehensive interface to launch and control VLC Media Player with support for: - Window positioning and monitor selection - Playback settings (speed, aspect ratio, etc) - Audio/video filters and options - Subtitle handling - Multiple language support - Network proxy settings - Advanced performance options
PARAMETERS -Path <String[]> The media file(s) or URL(s) to open in VLC.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-KeysToSend <String[]>
Keystrokes to send to the VLC window for control.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Escape [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ShiftEnter [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DelayMilliSeconds <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Monitor <Int32>
Monitor to display VLC on (-1=discard, 0=default, >0=specific monitor).
Required? false
Position? named
Default value -2
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoBorders [<SwitchParameter>]
Removes window borders for a cleaner look.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Width <Int32>
Initial window width in pixels.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Height <Int32>
Initial window height in pixels.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-X <Int32>
Initial window X position.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Y <Int32>
Initial window Y position.
Required? false
Position? named
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Left [<SwitchParameter>]
Places window on left side of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Right [<SwitchParameter>]
Places window on right side of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Top [<SwitchParameter>]
Places window on top of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Bottom [<SwitchParameter>]
Places window on bottom of screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Centered [<SwitchParameter>]
Centers the window on screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Fullscreen [<SwitchParameter>]
Maximizes the window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Returns the window helper object.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AlwaysOnTop [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Random [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Loop [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Repeat [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-StartPaused [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PlayAndExit [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableAudio [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainMode <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainPreamp <Single>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ForceDolbySurround <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilters <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Visualization <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Deinterlace <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DeinterlaceMode <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AspectRatio <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Crop <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AutoScale [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilters <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleFile <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableSubtitles [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleScale <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleLanguage <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioLanguage <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredAudioLanguage <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxy <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxyPassword <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VerbosityLevel <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubdirectoryBehavior <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredExtensions <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HighPriority [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableTimeStretch [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VLCPath <String>
Custom path to VLC executable.
Required? false
Position? named
Default value "${env:ProgramFiles}\VideoLAN\VLC\vlc.exe"
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NewWindow [<SwitchParameter>]
Forces new VLC instance.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableWallpaperMode [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilterModules <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Modules <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilterModules <String[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioVisualization <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredSubtitleLanguage <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredFileExtensions <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableAudioTimeStretch [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Arguments <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Close [<SwitchParameter>]
Closes VLC window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SideBySide [<SwitchParameter>]
Places VLC window side by side with PowerShell window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS > # Open video fullscreen on monitor 0 with audio
Open-VlcMediaPlayer -Path "video.mp4" -Fullscreen -Monitor 0
-------------------------- EXAMPLE 2 --------------------------
PS > # Short form using aliases
vlc "video.mp4" -fs -m 0
RELATED LINKS
NAME Open-VlcMediaPlayerLyrics
SYNTAX Open-VlcMediaPlayerLyrics [[-Queries] <string[]>] [[-EndPoint] {Bing | Github | Google | IMDB | InstantStreetView | StackOverflow | Wikipedia | WikipediaNL | WolframAlpha | Youtube}] [[-Language] {Afrikaans | Akan | Albanian | Amharic | Arabic | Armenian | Azerbaijani | Basque | Belarusian | Bemba | Bengali | Bihari | Bork, bork, bork! | Bosnian | Breton | Bulgarian | Cambodian | Catalan | Cherokee | Chichewa | Chinese (Simplified) | Chinese (Traditional) | Corsican | Croatian | Czech | Danish | Dutch | Elmer Fudd | English | Esperanto | Estonian | Ewe | Faroese | Filipino | Finnish | French | Frisian | Ga | Galician | Georgian | German | Greek | Guarani | Gujarati | Hacker | Haitian Creole | Hausa | Hawaiian | Hebrew | Hindi | Hungarian | Icelandic | Igbo | Indonesian | Interlingua | Irish | Italian | Japanese | Javanese | Kannada | Kazakh | Kinyarwanda | Kirundi | Klingon | Kongo | Korean | Krio (Sierra Leone) | Kurdish | Kurdish (Soranî) | Kyrgyz | Laothian | Latin | Latvian | Lingala | Lithuanian | Lozi | Luganda | Luo | Macedonian | Malagasy | Malay | Malayalam | Maltese | Maori | Marathi | Mauritian Creole | Moldavian | Mongolian | Montenegrin | Nepali | Nigerian Pidgin | Northern Sotho | Norwegian | Norwegian (Nynorsk) | Occitan | Oriya | Oromo | Pashto | Persian | Pirate | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi | Quechua | Romanian | Romansh | Runyakitara | Russian | Scots Gaelic | Serbian | Serbo-Croatian | Sesotho | Setswana | Seychellois Creole | Shona | Sindhi | Sinhalese | Slovak | Slovenian | Somali | Spanish | Spanish (Latin American) | Sundanese | Swahili | Swedish | Tajik | Tamil | Tatar | Telugu | Thai | Tigrinya | Tonga | Tshiluba | Tumbuka | Turkish | Turkmen | Twi | Uighur | Ukrainian | Urdu | Uzbek | Vietnamese | Welsh | Wolof | Xhosa | Yiddish | Yoruba | Zulu}] [-Private] [-Force] [-Edge] [-Chrome] [-Chromium] [-Firefox] [-All] [-Monitor ] [-FullScreen] [-Width ] [-Height ] [-X ] [-Y ] [-Left] [-Right] [-Top] [-Bottom] [-Centered] [-ApplicationMode] [-NoBrowserExtensions] [-AcceptLang ] [-RestoreFocus] [-NewWindow] [-PassThru] [-ReturnURL] [-ReturnOnlyURL] []
PARAMETERS -AcceptLang Set the browser accept-lang http header
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases lang, locale
Dynamic? false
Accept wildcard characters? false
-All
Opens in all registered modern browsers
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-ApplicationMode
Hide the browser controls
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases a, app, appmode
Dynamic? false
Accept wildcard characters? false
-Bottom
Place browser window on the bottom side of the screen
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Centered
Place browser window in the center of the screen
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Chrome
Opens in Google Chrome
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases ch
Dynamic? false
Accept wildcard characters? false
-Chromium
Opens in Microsoft Edge or Google Chrome, depending on what the default browser is
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases c
Dynamic? false
Accept wildcard characters? false
-Edge
Opens in Microsoft Edge
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases e
Dynamic? false
Accept wildcard characters? false
-EndPoint <string>
The enpoint to invoke the query on
Required? false
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Firefox
Opens in Firefox
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases ff
Dynamic? false
Accept wildcard characters? false
-Force
Force enable debugging port, stopping existing browsers if needed
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-FullScreen
Opens in fullscreen mode
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases fs, f
Dynamic? false
Accept wildcard characters? false
-Height <int>
The initial height of the webbrowser window
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Language <string>
The language of the returned search results
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Left
Place browser window on the left side of the screen
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Monitor <int>
The monitor to use, 0 = default, -1 is discard, -2 = Configured secondary monitor, defaults to -1, no positioning
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases m, mon
Dynamic? false
Accept wildcard characters? false
-NewWindow
Don't re-use existing browser window, instead, create a new one
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases nw, new
Dynamic? false
Accept wildcard characters? false
-NoBrowserExtensions
Prevent loading of browser extensions
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases de, ne, NoExtensions
Dynamic? false
Accept wildcard characters? false
-PassThru
Returns a [System.Diagnostics.Process] object of the browserprocess
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Private
Opens in incognito/private browsing mode
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases incognito, inprivate
Dynamic? false
Accept wildcard characters? false
-Queries <string[]>
Search terms to find a track
Required? false
Position? 0
Accept pipeline input? true (ByValue, ByPropertyName, FromRemainingArguments)
Parameter set name (All)
Aliases q, Value, Name, Text, Query
Dynamic? false
Accept wildcard characters? false
-RestoreFocus
Restore PowerShell window focus
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases bg
Dynamic? false
Accept wildcard characters? false
-ReturnOnlyURL
After opening webbrowser, return the url
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-ReturnURL
Don't open webbrowser, just return the url
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Right
Place browser window on the right side of the screen
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Top
Place browser window on the top side of the screen
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Width <int>
The initial width of the webbrowser window
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-X <int>
The initial X position of the webbrowser window
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Y <int>
The initial Y position of the webbrowser window
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS System.String[]
OUTPUTS System.Object
ALIASES vlclyrics
REMARKS None
NAME Start-VlcMediaPlayerNextInPlaylist
SYNTAX Start-VlcMediaPlayerNextInPlaylist [-WhatIf] [-Confirm] []
PARAMETERS -Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS None
OUTPUTS System.Object
ALIASES vlcnext
REMARKS None
NAME Start-VlcMediaPlayerPreviousInPlaylist
SYNTAX Start-VlcMediaPlayerPreviousInPlaylist [-WhatIf] [-Confirm] []
PARAMETERS -Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS None
OUTPUTS System.Object
ALIASES vlcback vlcprev
REMARKS None
NAME Switch-VlcMediaPlayerMute
SYNTAX Switch-VlcMediaPlayerMute []
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS None
OUTPUTS System.Object
ALIASES vlcmute vlcunmute
REMARKS None
NAME Switch-VlcMediaPlayerPaused
SYNTAX Switch-VlcMediaPlayerPaused []
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS None
OUTPUTS System.Object
ALIASES vlcpause vlcplay
REMARKS None
NAME Switch-VlcMediaPlayerRepeat
SYNTAX Switch-VlcMediaPlayerRepeat []
PARAMETERS This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS None
OUTPUTS System.Object
ALIASES vlcrepeat
REMARKS None