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

Improve Registration workflow #20

Open
Omzig opened this issue Mar 21, 2024 · 0 comments
Open

Improve Registration workflow #20

Omzig opened this issue Mar 21, 2024 · 0 comments

Comments

@Omzig
Copy link
Collaborator

Omzig commented Mar 21, 2024

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant