r/PowerShell • • Mar 09 '26

Question Organizing scripts

Hello! I was curious how others are organizing and /or documenting their scripts. I have scripts in GitHub, OneNote, Notepad++ you name it. I keep seeing clips of using Jupyter polyglot notebooks but understand it’s about to be deprecated? Wondering what is a good way to consolidate and also have others such as help desk access.

51 Upvotes

43 comments sorted by

View all comments

Show parent comment

3

u/elliottmarter Mar 09 '26

Hosting my own power shell repo sounds interesting.

Does this allow anyone in the world to install my modules via the CLI?

3

u/raip Mar 09 '26

Only if your repo is open to the world - but if you wanted that, I'd just recommend hosting on PSGallery.

Most people host their own PS Repo to lock down access to only their internal organization - which gives you the same PSGallery functionality but all private like. You can even mirror publicly hosted repos for an "Approved Module" workflow if you wanted to maintain strict control (or, more likely, if your servers don't have access to the internet and you need to way to install modules on them without manually copying and pasting).

2

u/BlackV Mar 09 '26

only if you allow them access to it, but theoretically yes

(or if you published to the public gallery)