Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
List starred Github repos in Powershell
$user = "juergenhoetzel"
$p = 1
do {
$full_names = Invoke-RestMethod "https://api.github.com/users/$user/starred?per_page=100&page=$p"
$full_names.ForEach({$_.full_name})
$p++
} while ($full_names.Length -gt 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment