Use Invoke-WebRequest with a username and password for basic authentication on the GitHub API Use Invoke-WebRequest with a username and password for basic authentication on the GitHub API powershell powershell