Skip to content

Install PowerShell modules to a custom directory #125

@splatteredbits

Description

@splatteredbits

We have dozens of applications that use different versions of PowerShell modules when they get deployed. These modules are not pre-installed on the destination servers, nor do those servers have network access to any place from which they can be downloaded. Instead, we save all our to a PSModules directory in each application's repository (during builds) and include that directory in our deployment packages. Scripts import modules from that directory instead of globally.

Update PSDepend to support saving a module to a custom path instead of using "Install-Module".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions