Skip to content

Instantly share code, notes, and snippets.

View GeraldPreston's full-sized avatar

GeraldPreston

View GitHub Profile
@webtroter
webtroter / SpotifyScratchpad.ps1
Created March 29, 2022 02:30
Change Public Playlists to Private
#Requires -Module Spotishell
# Install and setup Spotishell
# https://github.com/wardbox/spotishell
$InformationPreference = "Continue"
# Set your spotify username here
$username = "myspotifyusername"
$public_playlists = Get-UserPlaylists -Id $username | Where-Object { $_.owner.uri -eq "spotify:user:$username" -and $_.public}