Last active
January 16, 2018 13:22
-
-
Save naqushab/da0cf017ef33dbb403c961116b23e284 to your computer and use it in GitHub Desktop.
Delete Multiple Repos (Powershell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get-content repolist.txt | ForEach-Object { Invoke-WebRequest -Uri https://api.github.com/repos/$_ -Method "DELETE" -Headers @{"Authorization"="token UR_TOKEN"} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment