How to download a GitHub artifact using PowerShell?

Posted by

Last day I was struggling to download a GitHub artifact. Tried with invoke-webrequest, web session and even with curl. After reading the GitHub documentation, it seems to be possible with the GitHub API.
The only requirement is that you have a GitHub connection token. Read the following article about how to create a GitHub connection token.

Below a sample script how to download a GitHub artifact.

Leave a Reply

Your email address will not be published. Required fields are marked *