X Tutup
The Wayback Machine - https://web.archive.org/web/20201202014721/https://github.com/PowerShell/PowerShellGet/issues/73
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose download uri in Find-Module output as additional property #73

Open
bgelens opened this issue Mar 19, 2019 · 1 comment
Open

Expose download uri in Find-Module output as additional property #73

bgelens opened this issue Mar 19, 2019 · 1 comment
Milestone

Comments

@bgelens
Copy link

@bgelens bgelens commented Mar 19, 2019

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.

@SydneyhSmith
Copy link
Collaborator

@SydneyhSmith SydneyhSmith commented Mar 19, 2019

Thanks for opening the issue so fast so we can track the request!

@alerickson alerickson transferred this issue from PowerShell/PowerShellGetv2 Mar 30, 2020
@SydneyhSmith SydneyhSmith added the vNext label Mar 30, 2020
@SteveL-MSFT SteveL-MSFT added this to the vNext milestone Sep 4, 2020
@SteveL-MSFT SteveL-MSFT removed the vNext label Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.
X Tutup