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 |
---|---|---|
Stop-TextToSpeech | sst | Will stop the text-to-speech engine from saying anything else |
Start-TextToSpeech | say | Will use the text-to-speech engine to speak out text |
Get-GenXDevCmdlets | Retreives a list of all installed GenXdev modules and their Cmdlets and corresponding aliases | |
Show-GenXDevCmdlets | cmds | Shows a list of all installed GenXdev modules and their Cmdlets and corresponding aliases |
New-MicrosoftShellTab | x | Opens a new Windows Terminal tab and closes current by default |
Invoke-Fasti | Fasti | Will extract all archive files (zip, 7z, tar, etc) found in current directory and then DELETE them.Each archive file is extracted into their own directory with the same name as the file |
Set-LocationParent | .. | Provides the .. alias to go one directory up |
Set-LocationParent2 | ... | Provides the ... alias to go two directory up |
Set-LocationParent3 | .... | Provides the .... alias to go three directory up |
Set-LocationParent4 | ..... | Provides the ..... alias to go four directory up |
Set-LocationParent5 | ...... | Provides the ...... alias to go five directory up |
Enable-Screensaver | Starts the configured Windows screensaver | |
Set-MonitorPowerOff | Turns the monitor power off | |
Set-MonitorPowerOn | Turns the monitor power on | |
Show-Verb | Shows a short alphabetical list of all PowerShell verbs | |
Get-GenXDevModuleInfo | ||
SayTime | ||
SayDate | ||
Now | ||
UtcNow |
Â
Command                 | aliases         | Description |
---|---|---|
Search-Spotify | fm, sm | Performs a Spotify search and returns the search results |
Search-SpotifyAndPlay | fmp, smp | Performs a Spotify search and plays the first found item on the active device |
Search-SpotifyAndEnqueue | fmq, smq | Performs a Spotify search and adds the first item to the queue |
Set-SpotifyStart | play, Start-Music | Starts playback on the device that is active on Spotify |
Set-SpotifyPause | pausemusic, Resume-Music | Pauses playback on the device that is active on Spotify |
Set-SpotifyStop | stop, Stop-Music | Stops playback on the device that is active on Spotify |
Set-SpotifyPrevious | prev, previous | Skips to previous track on the device that is active on Spotify |
Set-SpotifyNext | next, skip | Skips to next track on the device that is active on Spotify |
Set-SpotifyRepeatSong | repeatsong | Enables song-repeat on the device that is active on Spotify |
Set-SpotifyRepeatContext | repeat | Enables playlist-repeat on the device that is active on Spotify |
Set-SpotifyRepeatOff | norepeat, repeatoff | Disables repeat on the device that is active on Spotify |
Set-SpotifyShuffleOn | shuffle, shuffleon | Enables song-shuffle on the device that is active on Spotify |
Set-SpotifyShuffleOff | noshuffle, shuffleoff | Disables song-shuffle on the device that is active on Spotify |
Get-SpotifyUserPlaylists | gupl | Returns a fully populated collection of Spotify playlists owned by current user |
Add-SpotifyTracksToPlaylist | addtoplaylist | Adds tracks to a Spotify playlist |
Add-SpotifyNewPlaylist | newplaylist | Creates a new Spotify playlist |
Set-SpotifyPlaylistDetails | spld | Sets the main properties of a Spotify playlist |
Remove-SpotifyTracksFromPlaylist | removefromplaylist | Removes tracks from a Spotify playlist |
Get-SpotifyCurrentlyPlaying | gcp | Returns the currently on Spotify playing track |
Get-SpotifyTrackAudioFeatures | audiofeatures | Returns Spotify track audio feature information |
Get-SpotifyTrackById | gettrack | Returns full Spotify track information by given TrackId |
Set-SpotifyPlaylistOrder | Reorders a range of tracks inside a Spotify playlist | |
Get-SpotifyPlaylistTracks | getplaylist | Returns all tracks of a Spotify playlist |
Get-SpotifyLikedTracks | liked | Returns all tracks saved in users own Spotify Library |
Add-SpotifyTracksToLiked | like | Adds tracks to the users own Spotify Library |
Move-SpotifyLikedTracksToPlaylist | moveliked | Moves all tracks from the users own Spotify Library to specified playlist |
Get-SpotifyPlaylistIdsByName | ||
Remove-SpotifyTracksFromLiked | dislike | Removes tracks from the users own Spotify Library |
Get-SpotifyDevices | Returns all currently available Spotify devices for current user | |
Get-SpotifyActiveDevice | Returns all currently active Spotify devices for current user | |
Set-SpotifyActiveDevice | Transfers playback to provided Spotify device | |
Get-SpotifyLyrics | lyrics | Searches for lyrics of a track |
Get-SpotifyApiToken | Returns a ApiToken for Spotify | |
Set-SpotifyApiToken | Caches an Spotify API-token for later use | |
Connect-SpotifyApiToken | Uses Spotify Open-Auth to request an access token |
Â
Stop-TextToSpeech --> sst
Will stop the text-to-speech engine from saying anything else
Stop-TextToSpeech [<CommonParameters>]
Will stop the text-to-speech engine from saying anything else
<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).
See also: Start-TextToSpeech -> say, and Skip-TextToSpeech -> sstSkip
-------------------------- EXAMPLE 1 --------------------------
PS C:\> say "Good morning"; say "Good evening"; Stop-TextToSpeech; # -> "G.."
Start-TextToSpeech --> say
Will use the text-to-speech engine to speak out text
Start-TextToSpeech -lines <String[]> [-wait] [<CommonParameters>]
Will use the text-to-speech engine to speak out text
-lines <String[]>
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-wait [<SwitchParameter>]
Will wait until all text is spoken
Required? false
Position? named
Default value False
Accept pipeline input? 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).
See also: Stop-TextToSpeech -> sst, and Skip-TextToSpeech -> sstSkip
-------------------------- EXAMPLE 1 --------------------------
PS C:\> say "Good morning"
PS C:\> "Good morning" | Start-TextToSpeech
Get-GenXDevCmdlets
Retreives a list of all installed GenXdev modules and their Cmdlets and corresponding
aliases
Get-GenXDevCmdlets [[-Filter] <String>] [-ModuleName <String[]>] [<CommonParameters>]
Retreives a list of all installed GenXdev modules and their Cmdlets and corresponding
aliases
-Filter <String>
Allows you to search for Cmdlets by providing searchstrings, with or without wildcards
Required? false
Position? 1
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-ModuleName <String[]>
Required? false
Position? named
Default value @("*")
Accept pipeline input? 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).
Show-GenXDevCmdlets --> cmds
Shows a list of all installed GenXdev modules and their Cmdlets and corresponding aliases
Show-GenXDevCmdlets [[-Filter] <String>] [-ModuleName <String[]>] [-Online]
[<CommonParameters>]
Shows a list of all installed GenXdev modules and their Cmdlets and corresponding aliases
-Filter <String>
Allows you to search for Cmdlets by providing searchstrings, with or without wildcards
Required? false
Position? 1
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-ModuleName <String[]>
Required? false
Position? named
Default value @("*")
Accept pipeline input? false
Accept wildcard characters? false
-Online [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? 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).
New-MicrosoftShellTab --> x
Opens a new Windows Terminal tab
New-MicrosoftShellTab [-DontCloseThisTab] [<CommonParameters>]
Opens a new Windows Terminal tab and closes current by default
-DontCloseThisTab [<SwitchParameter>]
Keeps current tab open
Required? false
Position? named
Default value False
Accept pipeline input? 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).
Invoke-Fasti --> Fasti
Will extract all archive files (zip, 7z, tar, etc) found in current directory and then
DELETE them
Invoke-Fasti [<CommonParameters>]
Will extract all archive files (zip, 7z, tar, etc) found in current directory and then
DELETE them.
Each archive file is extracted into their own directory with the same name as the file
<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).
You need 7z installed
-------------------------- EXAMPLE 1 --------------------------
PS D:\downloads>Invoke-Fasti
Set-LocationParent --> ..
Provides the .. alias to go one directory up
Set-LocationParent [<CommonParameters>]
Provides the .. alias to go one directory up
<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).
Set-LocationParent2 --> ...
Provides the ... alias to go two directory up
Set-LocationParent2 [<CommonParameters>]
Provides the ... alias to go two directory up
<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).
Set-LocationParent3 --> ....
Provides the .... alias to go three directory up
Set-LocationParent3 [<CommonParameters>]
Provides the .... alias to go three directory up
<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).
Set-LocationParent4 --> .....
Provides the ..... alias to go four directory up
Set-LocationParent4 [<CommonParameters>]
Provides the ..... alias to go four directory up
<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).
Set-LocationParent5 --> ......
Provides the ...... alias to go five directory up
Set-LocationParent5 [<CommonParameters>]
Provides the ...... alias to go five directory up
<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).
Enable-Screensaver
Starts the configured Windows screensaver
Enable-Screensaver [<CommonParameters>]
Starts the configured Windows screensaver
<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).
Set-MonitorPowerOff
Turns the monitor power off
Set-MonitorPowerOff [<CommonParameters>]
Turns the monitor power off
<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).
Set-MonitorPowerOn
Turns the monitor power on
Set-MonitorPowerOn [<CommonParameters>]
Turns the monitor power on
<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).
Show-Verb
Shows a short alphabetical list of all PowerShell verbs
Show-Verb [[-Verb] <String[]>] [<CommonParameters>]
Shows a short alphabetical list of all PowerShell verbs
-Verb <String[]>
Required? false
Position? 1
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Get-GenXDevModuleInfo
Get-GenXDevModuleInfo [[-ModuleName] <string[]>] [<CommonParameters>]
-ModuleName <string[]>
Required? false
Position? 0
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name (All)
Aliases Name, Module
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).
SayTime
SayTime
None
SayDate
SayDate
None
Now
Now [<CommonParameters>]
<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).
UtcNow
UtcNow [<CommonParameters>]
<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).
Â
Search-Spotify --> fm, sm
Performs a Spotify search and returns the search results
Search-Spotify [-Queries] <String[]> [-SearchType <String[]>] [<CommonParameters>]
Performs a Spotify search and returns the search results
-Queries <String[]>
The search phrase
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SearchType <String[]>
Optionally, the type of item to search for
Required? false
Position? named
Default value @("Track")
Accept pipeline input? 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).
Search-SpotifyAndPlay --> fmp, smp
Performs a Spotify search and plays the first found item
Search-SpotifyAndPlay [-Queries] <String[]> [-SearchType <String[]>] [<CommonParameters>]
Performs a Spotify search and plays the first found item on the active device
-Queries <String[]>
The search phrase
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SearchType <String[]>
Optionally, the type of item to search for
Required? false
Position? named
Default value @("Track")
Accept pipeline input? 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).
Search-SpotifyAndEnqueue --> fmq, smq
Performs a Spotify search and adds the first item to the queue
Search-SpotifyAndEnqueue [-Queries] <String[]> [-SearchType <String[]>] [<CommonParameters>]
Performs a Spotify search and adds the first item to the queue
-Queries <String[]>
The search phrase
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SearchType <String[]>
Optionally, the type of item to search for
Required? false
Position? named
Default value @("Track")
Accept pipeline input? 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).
Set-SpotifyStart --> play, Start-Music
Starts Spotify playback
Set-SpotifyStart [<CommonParameters>]
Starts playback on the device that is active on Spotify
<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).
Set-SpotifyPause --> pausemusic, Resume-Music
Pauses Spotify playback
Set-SpotifyPause [<CommonParameters>]
Pauses playback on the device that is active on Spotify
<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).
Set-SpotifyStop --> stop, Stop-Music
Stops Spotify playback
Set-SpotifyStop [<CommonParameters>]
Stops playback on the device that is active on Spotify
<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).
Set-SpotifyPrevious --> prev, previous
Skips to previous track on Spotify
Set-SpotifyPrevious [<CommonParameters>]
Skips to previous track on the device that is active on Spotify
<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).
Set-SpotifyNext --> next, skip
Skips to next track on Spotify
Set-SpotifyNext [<CommonParameters>]
Skips to next track on the device that is active on Spotify
<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).
Set-SpotifyRepeatSong --> repeatsong
Enables Spotify song-repeat
Set-SpotifyRepeatSong [<CommonParameters>]
Enables song-repeat on the device that is active on Spotify
<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).
Set-SpotifyRepeatContext --> repeat
Enables Spotify playlist-repeat
Set-SpotifyRepeatContext [<CommonParameters>]
Enables playlist-repeat on the device that is active on Spotify
<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).
Set-SpotifyRepeatOff --> norepeat, repeatoff
Disables Spotify repeat
Set-SpotifyRepeatOff [<CommonParameters>]
Disables repeat on the device that is active on Spotify
<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).
Set-SpotifyShuffleOn --> shuffle, shuffleon
Enables Spotify song-shuffle
Set-SpotifyShuffleOn [<CommonParameters>]
Enables song-shuffle on the device that is active on Spotify
<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).
Set-SpotifyShuffleOff --> noshuffle, shuffleoff
Disables Spotify song-shuffle
Set-SpotifyShuffleOff [<CommonParameters>]
Disables song-shuffle on the device that is active on Spotify
<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).
Get-SpotifyUserPlaylists --> gupl
Returns a fully populated collection of Spotify playlists owned by current user
Get-SpotifyUserPlaylists [[-Filter] <String[]>] [-Force] [<CommonParameters>]
Returns a fully populated collection of Spotify playlists owned by current user
-Filter <String[]>
Required? false
Position? 1
Default value @("*")
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Force [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? 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).
Add-SpotifyTracksToPlaylist --> addtoplaylist
Adds tracks to a Spotify playlist
Add-SpotifyTracksToPlaylist [-PlaylistName] <String[]> [[-Uri] <String[]>]
[<CommonParameters>]
Add-SpotifyTracksToPlaylist [-PlaylistId] <String[]> [[-Uri] <String[]>]
[<CommonParameters>]
Adds tracks to a Spotify playlist
-PlaylistName <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PlaylistId <String[]>
The Spotify playlist to add tracks to
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Uri <String[]>
The Spotify tracks that should be added to the playlist
Required? false
Position? 2
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Add-SpotifyNewPlaylist --> newplaylist
Creates a new Spotify playlist
Add-SpotifyNewPlaylist [-Name] <String> [[-Description] <String>] [-Public] [-Collabrative]
[<CommonParameters>]
Creates a new Spotify playlist
-Name <String>
The name for the new playlist
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
The description for the new playlist
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Public [<SwitchParameter>]
Make this a public playlist
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Collabrative [<SwitchParameter>]
Allow others to make changes
Required? false
Position? named
Default value False
Accept pipeline input? 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).
Set-SpotifyPlaylistDetails --> spld
Sets the main properties of a Spotify playlist
Set-SpotifyPlaylistDetails [-PlaylistId] <String> [-Name] <String> [[-Description]
<String>] [-Public] [-Collabrative] [-Private] [-NoCollabrations] [<CommonParameters>]
Sets the main properties of a Spotify playlist
-PlaylistId <String>
The Spotify playlist to set properties for
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The new name for the playlist
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
The new description for the playlist
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Public [<SwitchParameter>]
Make the playlist public
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Collabrative [<SwitchParameter>]
Allow others to make changes
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Private [<SwitchParameter>]
Make the playlist private
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-NoCollabrations [<SwitchParameter>]
Disallow others to make changes
Required? false
Position? named
Default value False
Accept pipeline input? 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).
Remove-SpotifyTracksFromPlaylist --> removefromplaylist
Removes tracks from a Spotify playlist
Remove-SpotifyTracksFromPlaylist [-PlaylistName] <String[]> [[-Uri] <String[]>]
[<CommonParameters>]
Remove-SpotifyTracksFromPlaylist [-PlaylistId] <String[]> [[-Uri] <String[]>]
[<CommonParameters>]
Removes tracks from a Spotify playlist
-PlaylistName <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PlaylistId <String[]>
The Spotify playlist to delete tracks from
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Uri <String[]>
The Spotify tracks that should be removed from the playlist
Required? false
Position? 2
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Get-SpotifyCurrentlyPlaying --> gcp
Returns the currently on Spotify playing track
Get-SpotifyCurrentlyPlaying [<CommonParameters>]
Returns the currently on Spotify playing track
<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).
Get-SpotifyTrackAudioFeatures --> audiofeatures
Returns Spotify track audio feature information
Get-SpotifyTrackAudioFeatures [-TrackId] <String[]> [<CommonParameters>]
Returns Spotify track audio feature information
-TrackId <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Get-SpotifyTrackById --> gettrack
Returns full Spotify track information by given TrackId
Get-SpotifyTrackById [-TrackId] <String> [<CommonParameters>]
Returns full Spotify track information by given TrackId
-TrackId <String>
The Spotify track id of the track to lookup
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Set-SpotifyPlaylistOrder
Reorders a range of tracks inside a Spotify playlist
Set-SpotifyPlaylistOrder [-PlaylistId] <String> [-RangeStart] <Int32> [-InsertBefore]
<Int32> [[-RangeLength] <Nullable`1>] [<CommonParameters>]
Reorders a range of tracks inside a Spotify playlist
-PlaylistId <String>
The Spotify playlist to perform the re-ordering on
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RangeStart <Int32>
The position of the first item to be reordered
Required? true
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-InsertBefore <Int32>
The position where the items should be inserted. To reorder the items to the
end of the playlist, simply set insert_before to the position after the last
item. Examples: To reorder the first item to the last position in a playlist
with 10 items, set range_start to 0, and insert_before to 10. To reorder the
last item in a playlist with 10 items to the start of the playlist, set range_start
to 9, and insert_before to 0.
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-RangeLength <Nullable`1>
The amount of items to be reordered. Defaults to 1 if not set. The range of items
to be reordered begins from the range_start position, and includes the range_length
subsequent items. Example: To move the items at index 9-10 to the start of the
playlist, range_start is set to 9, and range_length is set to 2.
Required? false
Position? 3
Default value
Accept pipeline input? 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).
Get-SpotifyPlaylistTracks --> getplaylist
Returns all tracks of a Spotify playlist
Get-SpotifyPlaylistTracks [-PlaylistName] <String> [<CommonParameters>]
Get-SpotifyPlaylistTracks [-PlaylistId] <String> [<CommonParameters>]
Returns all tracks of a Spotify playlist
-PlaylistName <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-PlaylistId <String>
The Spotify playlist to return tracks for
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Get-SpotifyLikedTracks --> liked
Returns all tracks saved in users own Spotify Library
Get-SpotifyLikedTracks [<CommonParameters>]
Returns all tracks saved in users own Spotify Library
<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).
Add-SpotifyTracksToLiked --> like
Adds tracks to the users own Spotify Library
Add-SpotifyTracksToLiked [[-TrackId] <String[]>] [<CommonParameters>]
Adds tracks to the users own Spotify Library
-TrackId <String[]>
The Spotify track Ids of the songs that should be added to liked"
Required? false
Position? 1
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Move-SpotifyLikedTracksToPlaylist --> moveliked
Moves all tracks from the users own Spotify Library to specified playlist
Move-SpotifyLikedTracksToPlaylist [-PlaylistName] <String[]> [<CommonParameters>]
Move-SpotifyLikedTracksToPlaylist [-PlaylistId] <String[]> [<CommonParameters>]
Moves all tracks from the users own Spotify Library to specified playlist
-PlaylistName <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-PlaylistId <String[]>
The Spotify playlist where all liked tracks should move to"
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Get-SpotifyPlaylistIdsByName
Get-SpotifyPlaylistIdsByName [-PlaylistName] <string[]> [<CommonParameters>]
-PlaylistName <string[]>
The Spotify playlist where all liked tracks should move to
Required? true
Position? 0
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name ByName
Aliases Name
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).
Remove-SpotifyTracksFromLiked --> dislike
Removes tracks from the users own Spotify Library
Remove-SpotifyTracksFromLiked [[-TrackId] <String[]>] [<CommonParameters>]
Removes tracks from the users own Spotify Library
-TrackId <String[]>
The Spotify track Ids of the songs that should be removed from liked"
Required? false
Position? 1
Default value @()
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Get-SpotifyDevices
Returns all currently available Spotify devices for current user
Get-SpotifyDevices [<CommonParameters>]
Returns all currently available Spotify devices for current user
<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).
Get-SpotifyActiveDevice
Returns all currently active Spotify devices for current user
Get-SpotifyActiveDevice [<CommonParameters>]
Returns all currently active Spotify devices for current user
<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).
Set-SpotifyActiveDevice
Transfers playback to provided Spotify device
Set-SpotifyActiveDevice [-DeviceId] <String> [<CommonParameters>]
Transfers playback to provided Spotify device
-DeviceId <String>
The Spotify deviceId to transfer playback to
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
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).
Get-SpotifyLyrics --> lyrics
Searches for lyrics of a track
Get-SpotifyLyrics [-TrackId <String>] [[-Queries] <String[]>] [<CommonParameters>]
Searches for lyrics of a track
-TrackId <String>
Optional: Spotify id of track to lookup lyrics for
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Queries <String[]>
Optional: A query to find a track to lookup lyrics for
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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).
Get-SpotifyApiToken
Returns a ApiToken for Spotify
Get-SpotifyApiToken [<CommonParameters>]
Returns a ApiToken for Spotify
<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).
Set-SpotifyApiToken
Caches an Spotify API-token for later use
Set-SpotifyApiToken [-ApiToken] <String> [<CommonParameters>]
Caches an Spotify API-token for later use
-ApiToken <String>
The API-token to cache
Required? true
Position? 1
Default value
Accept pipeline input? 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).
Connect-SpotifyApiToken
Uses Spotify Open-Auth to request an access token
Connect-SpotifyApiToken [<CommonParameters>]
Uses Spotify Open-Auth to request an access token
<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).