Skip to content

Improve Registration workflow #20

@Omzig

Description

@Omzig

When running this in a powershell prompt it does not run it in the same space that PSU is running. You have to create a script inside PSU to run this and get it added. Unless there is some magical -parm that allows you to register it globally on the server.

Maybe we need a register button inside PSU to make this a smoother end user experience?

Invoke-WebRequest -Uri 'https://github.com/ironmansoftware/scripts/releases/download/0.0.5/library.zip' -OutFile 'C:\repos\scripts\modules.zip'
Expand-Archive -Path 'C:\repos\scripts\modules.zip' -DestinationPath 'C:\repos\scripts\modules'
Register-PSRepository -Name 'PSUScriptLibrary' -SourceLocation 'C:\repos\scripts\modules'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions