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, findmedia | |
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 Opens and plays media files using VLC media player with advanced filtering and configuration options.
SYNTAX Open-MediaFile [[-SearchMask] <String[]>] [-PlaylistPath ] [[-Width] ] [[-Height] ] [[-X] ] [[-Y] ] [-KeysToSend <String[]>] [-Keywords <String[]>] [-SendKeyEscape] [-SendKeyUseShiftEnter] [-SendKeyDelayMilliSeconds ] [-SendKeyHoldKeyboardFocus] [-Monitor ] [-AspectRatio ] [-Crop ] [-SubtitleFile ] [-SubtitleScale ] [-SubtitleLanguage ] [-AudioLanguage ] [-PreferredAudioLanguage ] [-HttpProxy ] [-HttpProxyPassword ] [-VerbosityLevel ] [-SubdirectoryBehavior ] [-IgnoredExtensions ] [-VLCPath ] [-ReplayGainMode ] [-ReplayGainPreamp ] [-ForceDolbySurround ] [-AudioFilters <String[]>] [-Visualization ] [-Deinterlace ] [-DeinterlaceMode ] [-VideoFilters <String[]>] [-VideoFilterModules <String[]>] [-Modules <String[]>] [-AudioFilterModules <String[]>] [-AudioVisualization ] [-PreferredSubtitleLanguage ] [-IgnoredFileExtensions ] [-Arguments ] [-AllDrives] [-NoRecurse] [-OnlyVideos] [-OnlyAudio] [-OnlyPictures] [-IncludeVideos] [-IncludeAudio] [-IncludePictures] [-NoBorders] [-Left] [-Right] [-Top] [-Bottom] [-Centered] [-FullScreen] [-AlwaysOnTop] [-Random] [-Loop] [-Repeat] [-StartPaused] [-PlayAndExit] [-DisableAudio] [-DisableSubtitles] [-AutoScale] [-HighPriority] [-EnableTimeStretch] [-NewWindow] [-EnableWallpaperMode] [-EnableAudioTimeStretch] [-Close] [-SideBySide] [-FocusWindow] [-SetForeground] [-Maximize] [-RestoreFocus] [-SessionOnly] [-ClearSession] [-SkipSession] [-PassThru] [-PassThruNoOpen] [-PassThruWindow] []
DESCRIPTION This function scans for media files based on search patterns and optional keywords, creates a playlist, and launches VLC media player with comprehensive configuration options. It supports videos, audio files, and pictures with automatic VLC installation if needed. The function provides extensive control over playback behavior, window positioning, audio/video settings, and subtitle handling.
PARAMETERS -SearchMask <String[]> File name or pattern to search for. Supports wildcards. Default is '*' to find all media files.
Required? false
Position? 1
Default value *
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? true
-PlaylistPath <String>
Required? false
Position? named
Default value [System.IO.Path]::GetTempFileName() + '.m3u'
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Width <Int32>
The initial width of the VLC player window in pixels.
Required? false
Position? 2
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Height <Int32>
The initial height of the VLC player window in pixels.
Required? false
Position? 3
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-X <Int32>
The initial X position of the VLC player window on screen.
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Y <Int32>
The initial Y position of the VLC player window on screen.
Required? false
Position? 5
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-KeysToSend <String[]>
Keystrokes to send to the VLC player window after launch. See documentation for
GenXdev.Windows\Send-Key cmdlet for available key combinations.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Aliases
Accept wildcard characters? false
-Keywords <String[]>
Keywords to search for in subtitle files (.srt) and media descriptions stored
in alternate data streams.
Required? false
Position? named
Default value @()
Accept pipeline input? false
Aliases
Accept wildcard characters? true
-SendKeyEscape [<SwitchParameter>]
Escape control characters and modifiers in the KeysToSend parameter.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyUseShiftEnter [<SwitchParameter>]
Use Shift+Enter instead of Enter when processing KeysToSend.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyDelayMilliSeconds <Int32>
Delay between different input strings in milliseconds when sending keys.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyHoldKeyboardFocus [<SwitchParameter>]
Prevents returning keyboard focus to PowerShell after sending keys.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Monitor <Int32>
The monitor to display VLC on. 0 = default monitor, -1 = discard positioning.
Required? false
Position? named
Default value -2
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AspectRatio <String>
Forces a specific aspect ratio for video content.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Crop <String>
Applies video cropping with specified dimensions.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleFile <String>
Path to an external subtitle file to use with video content.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleScale <Int32>
Sets the subtitle text scaling factor (10-500 percent).
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleLanguage <String>
Specifies the preferred subtitle language from available tracks.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioLanguage <String>
Specifies the preferred audio language from available tracks.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredAudioLanguage <String>
Sets the default preferred audio language for future playback.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxy <String>
HTTP proxy server address for network streaming content.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxyPassword <String>
Password for HTTP proxy authentication.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VerbosityLevel <Int32>
Sets VLC's log verbosity level (0=quiet, 1=errors, 2=verbose).
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubdirectoryBehavior <String>
Controls how subdirectories are handled in the playlist.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredExtensions <String>
File extensions to ignore during media file scanning.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VLCPath <String>
Full path to the VLC executable. Defaults to standard installation location.
Required? false
Position? named
Default value "${env:ProgramFiles}\VideoLAN\VLC\vlc.exe"
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainMode <String>
Sets the audio replay gain mode to normalize volume levels across tracks.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainPreamp <Single>
Sets the replay gain preamp level in decibels (-20.0 to 20.0).
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ForceDolbySurround <String>
Forces detection of Dolby Surround audio encoding.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilters <String[]>
Specifies audio filter modules to apply during playback.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Visualization <String>
Sets the audio visualization mode for audio-only content.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Deinterlace <String>
Controls video deinterlacing for improved quality on interlaced content.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DeinterlaceMode <String>
Specifies the deinterlacing algorithm to use.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilters <String[]>
Specifies video filter modules to apply during playback.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilterModules <String[]>
Additional video filter modules to load and apply.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Modules <String[]>
General VLC modules to load during startup.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilterModules <String[]>
Additional audio filter modules to load and apply.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioVisualization <String>
Sets the audio visualization mode for enhanced audio-only experience.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredSubtitleLanguage <String>
Sets the default preferred subtitle language for future playback.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredFileExtensions <String>
File extensions to completely ignore during scanning.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Arguments <String>
Additional command-line arguments to pass directly to VLC.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AllDrives [<SwitchParameter>]
Search across all available drives instead of just the current directory.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoRecurse [<SwitchParameter>]
Do not recurse into subdirectories during the file search.
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 (.mp4, .avi, .mkv, .mov,
.wmv).
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 (.mp3, .flac, .wav, .midi,
.mid, .au, .aiff, .aac, .m4a, .ogg, .wma, .ra, .ram, .rm, .rmm).
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 (.jpg, .jpeg, .png, .gif,
.bmp, .tiff, .tif).
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 when other filters are applied.
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 when other filters are applied.
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 when other filters are
applied.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoBorders [<SwitchParameter>]
Removes the window borders from the VLC player window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Left [<SwitchParameter>]
Place the VLC window on the left side of the screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Right [<SwitchParameter>]
Place the VLC window on the right side of the screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Top [<SwitchParameter>]
Place the VLC window on the top side of the screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Bottom [<SwitchParameter>]
Place the VLC window on the bottom side of the screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Centered [<SwitchParameter>]
Place the VLC window in the center of the screen.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-FullScreen [<SwitchParameter>]
Maximize the VLC window to fullscreen mode.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AlwaysOnTop [<SwitchParameter>]
Keeps the VLC window always on top of other windows.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Random [<SwitchParameter>]
Enables random playback order (shuffle mode) for the playlist.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Loop [<SwitchParameter>]
Enables playlist looping - repeats the entire playlist when finished.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Repeat [<SwitchParameter>]
Enables single item repeat - repeats the current media file indefinitely.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-StartPaused [<SwitchParameter>]
Starts VLC in paused state instead of immediately playing.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PlayAndExit [<SwitchParameter>]
Automatically exits VLC when playback is completed.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableAudio [<SwitchParameter>]
Completely disables audio output during playback.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableSubtitles [<SwitchParameter>]
Completely disables subtitle display during playback.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AutoScale [<SwitchParameter>]
Enables automatic video scaling to fit the window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HighPriority [<SwitchParameter>]
Increases the process priority of the VLC player for better performance.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableTimeStretch [<SwitchParameter>]
Enables audio time stretching to maintain pitch during speed changes.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NewWindow [<SwitchParameter>]
Forces opening a new VLC instance instead of using existing one.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableWallpaperMode [<SwitchParameter>]
Enables video wallpaper mode where video plays as desktop background.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableAudioTimeStretch [<SwitchParameter>]
Enables advanced audio time stretching capabilities.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Close [<SwitchParameter>]
Closes the VLC media player window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SideBySide [<SwitchParameter>]
Places the VLC window side by side with PowerShell or on a different monitor
for fullscreen mode.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-FocusWindow [<SwitchParameter>]
Focuses the VLC window after opening.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SetForeground [<SwitchParameter>]
Sets the VLC window to foreground after opening.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Maximize [<SwitchParameter>]
Maximizes the VLC window.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-RestoreFocus [<SwitchParameter>]
Restores PowerShell window focus after opening VLC.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SessionOnly [<SwitchParameter>]
Uses alternative settings stored in session for AI preferences.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ClearSession [<SwitchParameter>]
Clears alternative settings stored in session for AI preferences.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SkipSession [<SwitchParameter>]
Stores settings only in persistent preferences without affecting session.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Returns the files found by the search.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PassThruNoOpen [<SwitchParameter>]
Returns the files found by the search without opening VLC.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PassThruWindow [<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 > Open-MediaFile
Opens all media files in the current directory using default VLC settings.
-------------------------- EXAMPLE 2 --------------------------
PS > vlcmedia ~\Pictures -OnlyPictures -Fullscreen
Opens only picture files from the Pictures folder in fullscreen mode using the
alias 'vlcmedia'.
-------------------------- EXAMPLE 3 --------------------------
PS > media ~\Videos -Keywords "*birthday*" -OnlyVideos -Loop
Opens video files containing "birthday" in subtitles with looping enabled using
the alias 'media'.
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] ] [-Private] [-Force] [-Edge] [-Chrome] [-Chromium] [-Firefox] [[-Monitor] ] [-FullScreen] [[-Width] ] [[-Height] ] [[-Left] ] [[-Right] ] [[-Top] ] [[-Bottom] ] [-Centered] [-ApplicationMode] [-NoBrowserExtensions] [-DisablePopupBlocker] [[-AcceptLang] ] [-SendKeyEscape] [-SendKeyHoldKeyboardFocus] [-SendKeyUseShiftEnter] [[-SendKeyDelayMilliSeconds] ] [-FocusWindow] [-SetForeground] [-Maximize] [-RestoreFocus] [-NewWindow] [-ReturnURL] [-ReturnOnlyURL] [-NoBorders] [-SessionOnly] [-ClearSession] [-SkipSession] [-SideBySide] []
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? 1
Default value
Accept pipeline input? true (ByPropertyName)
Aliases
Accept wildcard characters? false
-Private [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Force [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Edge [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Chrome [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Chromium [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Firefox [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Monitor <Int32>
Required? false
Position? 2
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-FullScreen [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Width <Int32>
Required? false
Position? 3
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Height <Int32>
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Left <Int32>
Required? false
Position? 5
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Right <Int32>
Required? false
Position? 6
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Top <Int32>
Required? false
Position? 7
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Bottom <Int32>
Required? false
Position? 8
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Centered [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ApplicationMode [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoBrowserExtensions [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisablePopupBlocker [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AcceptLang <String>
Required? false
Position? 9
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyEscape [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyHoldKeyboardFocus [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyUseShiftEnter [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyDelayMilliSeconds <Int32>
Required? false
Position? 10
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-FocusWindow [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SetForeground [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Maximize [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-RestoreFocus [<SwitchParameter>]
Required? false
Position? named
Default value False
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
-ReturnURL [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReturnOnlyURL [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoBorders [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SessionOnly [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ClearSession [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SkipSession [<SwitchParameter>]
Required? false
Position? named
Default value False
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 > 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[]>] [[-Width] ] [[-Height] ] [[-X] ] [[-Y] ] [-KeysToSend <String[]>] [-SendKeyEscape] [-SendKeyUseShiftEnter] [-SendKeyDelayMilliSeconds ] [-SendKeyHoldKeyboardFocus] [-Monitor ] [-AspectRatio ] [-Crop ] [-SubtitleFile ] [-SubtitleScale ] [-SubtitleLanguage ] [-AudioLanguage ] [-PreferredAudioLanguage ] [-HttpProxy ] [-HttpProxyPassword ] [-VerbosityLevel ] [-SubdirectoryBehavior ] [-IgnoredExtensions ] [-VLCPath ] [-ReplayGainMode ] [-ReplayGainPreamp ] [-ForceDolbySurround ] [-AudioFilters <String[]>] [-Visualization ] [-Deinterlace ] [-DeinterlaceMode ] [-VideoFilters <String[]>] [-VideoFilterModules <String[]>] [-Modules <String[]>] [-AudioFilterModules <String[]>] [-AudioVisualization ] [-PreferredSubtitleLanguage ] [-IgnoredFileExtensions ] [-Arguments ] [-NoBorders] [-Left] [-Right] [-Top] [-Bottom] [-Centered] [-FullScreen] [-PassThru] [-AlwaysOnTop] [-Random] [-Loop] [-Repeat] [-StartPaused] [-PlayAndExit] [-DisableAudio] [-DisableSubtitles] [-AutoScale] [-HighPriority] [-EnableTimeStretch] [-NewWindow] [-EnableWallpaperMode] [-EnableAudioTimeStretch] [-Close] [-SideBySide] [-FocusWindow] [-SetForeground] [-Maximize] [-RestoreFocus] [-SessionOnly] [-ClearSession] [-SkipSession] []
DESCRIPTION This function provides a comprehensive interface to launch and control VLC Media Player with support for window positioning, monitor selection, playback settings, audio and video filters, subtitle handling, multiple language support, network proxy settings, and advanced performance options. The function can automatically install VLC if not present and provides extensive customization for media playbook scenarios. It integrates seamlessly with the GenXdev window management system and supports keyboard input automation through the Send-Key functionality.
PARAMETERS -Path <String[]> The media file(s) or URL(s) to open in VLC. Supports local files, network
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Aliases
Accept wildcard characters? false
-Width <Int32>
The initial width of the VLC window in pixels. Used for precise window sizing.
Required? false
Position? 2
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Height <Int32>
The initial height of the VLC window in pixels. Used for precise window sizing.
Required? false
Position? 3
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-X <Int32>
The initial X position of the VLC window on the screen in pixels.
Required? false
Position? 4
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Y <Int32>
The initial Y position of the VLC window on the screen in pixels.
Required? false
Position? 5
Default value -1
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-KeysToSend <String[]>
Keystrokes to send to the VLC Player Window after opening. Uses the same
syntax as the GenXdev.Windows\Send-Key function for automation purposes.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Aliases
Accept wildcard characters? false
-SendKeyEscape [<SwitchParameter>]
Escape control characters and modifiers when sending keys to VLC to ensure
literal key interpretation.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyUseShiftEnter [<SwitchParameter>]
Use Shift+Enter instead of Enter when sending keys to VLC for line breaks.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyDelayMilliSeconds <Int32>
Delay between different input strings in milliseconds when sending keys to
ensure reliable delivery.
Required? false
Position? named
Default value 50
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SendKeyHoldKeyboardFocus [<SwitchParameter>]
Hold keyboard focus on the VLC window after sending keys instead of returning
focus to PowerShell.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Monitor <Int32>
The monitor to use for VLC display. 0 = default monitor, -1 = discard
positioning, >0 = specific monitor number.
Required? false
Position? named
Default value -2
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AspectRatio <String>
Source aspect ratio for video display to ensure correct proportions.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Crop <String>
Video cropping settings to adjust the visible video area.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleFile <String>
Path to subtitle file to use with the media for caption display.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleScale <Int32>
Subtitles text scaling factor percentage for readability adjustment.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubtitleLanguage <String>
Subtitle language preference for multi-language content selection.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioLanguage <String>
Audio language preference for multi-language content selection.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredAudioLanguage <String>
Preferred audio language for multi-language content when multiple tracks exist.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxy <String>
HTTP proxy server for network streams when behind corporate firewalls.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HttpProxyPassword <String>
HTTP proxy password for authentication when required by proxy server.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VerbosityLevel <Int32>
Verbosity level for VLC output to control logging detail.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SubdirectoryBehavior <String>
How to handle subdirectories in playlists for folder-based media organization.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredExtensions <String>
File extensions to ignore when building playlists to filter unwanted files.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VLCPath <String>
Custom path to VLC executable when installed in non-standard location.
Required? false
Position? named
Default value "${env:ProgramFiles}\VideoLAN\VLC\vlc.exe"
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainMode <String>
Replay gain mode for audio normalization to maintain consistent volume levels.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ReplayGainPreamp <Single>
Replay gain preamp value in decibels for volume adjustment.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ForceDolbySurround <String>
Force detection of Dolby Surround audio for enhanced audio processing.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilters <String[]>
Audio filters to apply during playback for sound enhancement.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Visualization <String>
Audio visualization type to display for audio-only content.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Deinterlace <String>
Deinterlace video content to improve quality of interlaced video.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DeinterlaceMode <String>
Deinterlace algorithm to use for optimal video quality processing.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilters <String[]>
Video filters to apply during playback for visual enhancement.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-VideoFilterModules <String[]>
Video filter modules to load for advanced video processing.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Modules <String[]>
Additional modules to load for extended VLC functionality.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioFilterModules <String[]>
Audio filter modules to load for advanced audio processing.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AudioVisualization <String>
Audio visualization mode for visual representation of audio content.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PreferredSubtitleLanguage <String>
Preferred subtitle language for automatic subtitle selection.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-IgnoredFileExtensions <String>
File extensions to ignore during media file processing.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Arguments <String>
Additional command-line arguments to pass to VLC for custom configuration.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NoBorders [<SwitchParameter>]
Removes window borders for a cleaner, distraction-free viewing experience.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Left [<SwitchParameter>]
Places VLC window on left side of screen for side-by-side arrangements.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Right [<SwitchParameter>]
Places VLC window on right side of screen for side-by-side arrangements.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Top [<SwitchParameter>]
Places VLC window on top side of screen for vertical arrangements.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Bottom [<SwitchParameter>]
Places VLC window on bottom side of screen for vertical arrangements.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Centered [<SwitchParameter>]
Centers the VLC window on screen for optimal viewing position.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-FullScreen [<SwitchParameter>]
Maximizes the VLC window to fullscreen for immersive viewing.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Returns the window helper object for further manipulation and control.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AlwaysOnTop [<SwitchParameter>]
Keeps the VLC window always on top of other windows for persistent visibility.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Random [<SwitchParameter>]
Play files randomly forever in shuffle mode for varied playback order.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Loop [<SwitchParameter>]
Repeat all files in the playlist continuously for extended viewing.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Repeat [<SwitchParameter>]
Repeat current item continuously for focused content consumption.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-StartPaused [<SwitchParameter>]
Start playback in paused state for manual playback control.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-PlayAndExit [<SwitchParameter>]
Play media and exit VLC when finished for automated batch processing.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableAudio [<SwitchParameter>]
Disable audio output completely for silent video playback.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-DisableSubtitles [<SwitchParameter>]
Disable all subtitles for clean video display without captions.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-AutoScale [<SwitchParameter>]
Enable automatic video scaling for optimal display size adjustment.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-HighPriority [<SwitchParameter>]
Increase the priority of the VLC process for better performance.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableTimeStretch [<SwitchParameter>]
Enable time stretching audio during playback for speed adjustments.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-NewWindow [<SwitchParameter>]
Open new VLC mediaplayer instance instead of reusing existing windows.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableWallpaperMode [<SwitchParameter>]
Enable video wallpaper mode for desktop background video display.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-EnableAudioTimeStretch [<SwitchParameter>]
Enable audio time stretching for playback speed modifications.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Close [<SwitchParameter>]
Close the VLC media player window and terminate the process.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SideBySide [<SwitchParameter>]
Will either set the window fullscreen on a different monitor than PowerShell,
or side by side with PowerShell on the same monitor for workflow optimization.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-FocusWindow [<SwitchParameter>]
Focus the VLC window after opening for immediate interaction readiness.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SetForeground [<SwitchParameter>]
Set the VLC window to foreground after opening for visibility assurance.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Maximize [<SwitchParameter>]
Maximize the VLC window after positioning for full-screen content display.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-RestoreFocus [<SwitchParameter>]
Restore PowerShell window focus after opening VLC for continued workflow.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SessionOnly [<SwitchParameter>]
Use alternative settings stored in session for AI preferences during current
session only.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-ClearSession [<SwitchParameter>]
Clear alternative settings stored in session for AI preferences to reset
configuration.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-SkipSession [<SwitchParameter>]
Store settings only in persistent preferences without affecting session to
maintain separation.
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-VlcMediaPlayer -Path "video.mp4" -Fullscreen -Monitor 0
Opens a video file in fullscreen mode on the primary monitor for immersive
viewing experience.
-------------------------- EXAMPLE 2 --------------------------
PS > vlc "video.mp4" -fs -m 0
Short form using aliases to open video fullscreen on monitor 0 with minimal
typing required.
-------------------------- EXAMPLE 3 --------------------------
PS > Open-VlcMediaPlayer -Path "movie.mkv" -SubtitleFile "movie.srt" -AudioLanguage "English"
Opens a movie with external subtitles and specific audio language for
enhanced viewing with captions.
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 ] [-ShowWindow] [-Width ] [-Height ] [-X ] [-Y ] [-Left] [-Right] [-Top] [-Bottom] [-Centered] [-ApplicationMode] [-NoBrowserExtensions] [-DisablePopupBlocker] [-AcceptLang ] [-KeysToSend <string[]>] [-SendKeyEscape] [-SendKeyHoldKeyboardFocus] [-SendKeyUseShiftEnter] [-SendKeyDelayMilliSeconds ] [-FocusWindow] [-SetForeground] [-Maximize] [-RestoreFocus] [-NewWindow] [-PassThru] [-ReturnURL] [-ReturnOnlyURL] [-NoBorders] [-SessionOnly] [-ClearSession] [-SkipSession] [-SideBySide] []
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
-ClearSession
Clear browser session data before opening the browser
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-DisablePopupBlocker
Disable the popup blocker
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases allowpopups
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
-FocusWindow
Focus the browser window after opening
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases fw, focus
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
-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
-KeysToSend <string[]>
Keystrokes to send to the Browser window, see documentation for cmdlet GenXdev.Windows\Send-Key
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
-Maximize
Maximize the window after positioning
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
-NoBorders
Removes window borders from the browser window
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases nb
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 pt
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, 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 rf, 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
-SendKeyDelayMilliSeconds <int>
Delay between sending different key sequences in milliseconds
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases DelayMilliSeconds
Dynamic? false
Accept wildcard characters? false
-SendKeyEscape
Escape control characters when sending keys
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases Escape
Dynamic? false
Accept wildcard characters? false
-SendKeyHoldKeyboardFocus
Prevent returning keyboard focus to PowerShell after sending keys
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases HoldKeyboardFocus
Dynamic? false
Accept wildcard characters? false
-SendKeyUseShiftEnter
Send Shift+Enter instead of regular Enter for line breaks
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases UseShiftEnter
Dynamic? false
Accept wildcard characters? false
-SessionOnly
Use a session that is not persisted after closing the browser
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-SetForeground
Set the browser window to foreground after opening
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases fg
Dynamic? false
Accept wildcard characters? false
-ShowWindow
Opens in fullscreen mode
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases sw
Dynamic? false
Accept wildcard characters? false
-SideBySide
Open browser windows side by side
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases sbs
Dynamic? false
Accept wildcard characters? false
-SkipSession
Skip using any existing browser session
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases FromPreferences
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