You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose download uri in Find-Module output as additional property #73
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.
Activity
SydneyhSmith commentedon Mar 19, 2019
Thanks for opening the issue so fast so we can track the request!