PowerShell Snippets: Get One Value from GitHub Json

PowerShellThis post is part of the series on PowerShell Snippets.

While looking into uploading a release asset to a GitHub release, I discovered that to do this I needed the internal numeric id for a release and not just the id I’d given it. The element I needed from the GitHub json was id which can be retrieved using the below PowerShell which executes curl and then selects a single element:

Continue Reading azurecurve’s Article on their blog

PowerShell Snippets: Get One Value from GitHub Json

This post is part of the series on PowerShell Snippets. While looking into uploading a release asset to a GitHub release, I discovered that to do this I needed the internal numeric id for a release and not just the id I’d given it.

Blog Syndicated with azurecurve’s Permission

Author: Ian Grieve

Share This Post On
Share via
Copy link
Powered by Social Snap