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

4

u/raip Mar 09 '26

If I remember correctly - StakeHolder access in ADO doesn't give any access to the code repos - which means you're paying for all the users that don't contribute but need access to download/look at the scripts.

That, in itself, seems like a complete waste to me, especially when you could have the same functionality with a PowerShell repository.

3

u/E8zPQrX7rwkd Mar 09 '26

Yeah, read only users need a license as well. If you were concerned about the cost, you could setup a pipeline to publish changes to your PowerShell repository, but the operational overhead for maintaining this would likely exceed the cost of licensing people for read-only access.

Relying on a PowerShell repository without ADO or GitHub, IMO, would lead to issues when it comes to maintaining scripts. AFAIK, you can't browse history or diffs in a PowerShell repository, nor can you easily perform searches on the contents of scripts.

1

u/raip Mar 09 '26

Correct - but that's more of a CI/CD question than how you'd organize scripts. We just have a pipeline w/ GitHub (used to be ADO) - I commit and a pipeline runner automatically publishes if it's tagged as a version increase.