Skip to content

[Feature Request] Restore-PSResource #145

Description

To assist users coming from other platforms and are used to things like npm restore or dotnet restore, there should be Restore-PSResource that would be equivalent to doing intelligent discovery of files in the current folder like requirements.psd1 or psrequirements.json, designed to be a faster path than install-module -requiredresourcefile

This should come along after the psd1 support is implemented with publishing.

Activity

  1. ThomasNieto commented on Aug 20, 2020

    @ThomasNieto
    Contributor

    This request is similar to PSDepend. May want to take the lessons learned there and apply it here.

    cc: Warren Frame (@RamblingCookieMonster)

  2. kilasuit commented on Sep 30, 2026

    @kilasuit

    Justin Grote (@JustinGrote) I feel this probably could be closed as we have this now.

         --------- Example 4 ---------
    
        Installs the PSResources specified in the psd1 file.
    
        Install-PSResource -RequiredResourceFile myRequiredModules.psd1
       
    

    Even if it's not as nice as just calling Restore-PSResource would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions