Devolutions / Devolutions/powershell-universal-gallery

Improve Registration workflow

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
92
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.