r/PowerShell 17d ago

Script Sharing Some PowerShell Universal fun

I’ve recently started working on a Standard Library for PSU. It’s a module of PowerShell Universal components that I’ve written taken from the various apps I’ve made and wrapped in functions to make them more flexible for use by the broader community.

The module’s repository has an examples folder that includes a demo app showcasing all the functionality currently available as well as individual component samples.

I’d love to see this thing take off a bit as a way for the PSU community to contribute useful things they are willing and able to share with others.

You can install the module right from the Platform -> Gallery section of your PSU instance.

If you want to review the code before installing or contribute to the project, the repo is at https://github.com/steviecoaster/PowerShellUniversal.StandardLibrary

I appreciate you checking out the project!

52 Upvotes

9 comments sorted by

15

u/kewter 17d ago

This feels less like a “standard library” and more like “here’s how I personally build dashboards, please enjoy.” There’s a lot of color/spacing/typography glued straight into the components, and once that stuff is baked in, anyone trying to theme it their own way is basically wrestling the code instead of using it.

Sharing patterns is great, nothing wrong there. Just gotta watch the part where design choices get cemented into the wrappers. The more assumptions you lock in, the fewer people can actually drop this into their own setups without fighting it.

3

u/coaster_coder 17d ago

That’s why a lot of these can be styled. That allows you to apply your own theming to them. Of all the components included. Even the stacks themselves have pass-thru parameters that allow you treat the layout in the stack the way you want.

I’ll agree there is some level of “baked” to the structure of the component but where I can I’ve made it so you have as much control as possible as to the final look and feel.

If I didn’t do that it would be less of a library of components and more of a “cool shit bucket of parts” you’re stuck with.

4

u/saGot3n 17d ago

My entire field service tech fleet uses a PSU App I have created for managing computers and its been the best thing since sliced bread. They can do all their management from the browser for anything workstations related. Hooks into SCCM, Entra, and Intune and they are constantly asking for things to be added. In our environment PSU was the best license we have purchased!!!

4

u/realslacker 17d ago

You will probably get more engagement with screenshots

2

u/TurnItOff_OnAgain 17d ago

I love me some PSU. Can you update the GIT with some screenshots or maybe short recordings of the tools here?

2

u/coaster_coder 16d ago

It’s on the agenda for the weekend to add visuals to the repo, ya. I’ve been focused on getting the initial components, test harness, CI, and example apps up first!

But yes, very soon.

2

u/coaster_coder 15d ago

The README is now updated with screenshots and some component overviews!

2

u/jaivibi 16d ago

The one-click install from PSU's built-in repository browser is a nice touch for adoption. Worth noting for anyone who wants more control over where the module lands, you can also pull, it straight from the PowerShell Gallery or clone the repo and drop it into your module path manually. Either way, lowering that friction for contributors is the right call if you want the community to actually build on it.

1

u/tingnossu 16d ago

this looks like a great example of community tooling for PSU - a standard library that wraps, reusable components is exactly the kind of thing that makes platforms like this actually scale across teams. going to check out the repo and see how it fits into some of the identity dashboard work I've been building out.