PowerShell / PowerShell/PSResourceGet
Expose download uri in Find-Module output as additional property
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 576
- Forks
- 114
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
When I need to publish a Module to Azure Automation for example, I need to give Azure Automation the url of the download. In the portal this is abstracted away but when you want to handle that via the api directly or via AZ PowerShell, you need to do additional steps next to Find-Module to get the url that you can use.
$moduleInfo = Invoke-RestMethod -Uri "https://www.powershellgallery.com/api/v2/Packages?`$filter=Id eq 'ComputerManagementDsc' and Version eq '6.1.0.0'"
$moduleInfo.content.src
It would be very useful if the download uri was part of the PSRepositoryItemInfo object.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Find-Module implementation and the PSRepositoryItemInfo definition, then inspect the existing tests for Find-Module output. The work is complete when the download URI is exposed as an additional property and the relevant output behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100