Open
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.
Metadata
Metadata
Assignees
Labels
No labels