Real-World Examples

avatar

Hello! I’m trying to collect some real-world examples of what folks are using PSU for to put on our website. I get a lot of questions about what to actually use PSU for since it has a lot of features.

If you’re willing to do so either on this thread or via DM, I’m all ears. I can include as little or as many details as you want (company, name, job title, etc). I’d love screenshots but realize that’s not always possible.

Adam Driscoll

PowerShell Expert and Software Architect at Devolutions

All Comments (51)

avatar

@Adam Driscoll I always felt this would be beneficial as a way to provide inspiration to others and to sell the product. My son has a really cool dashboard for the local police department and he encouraged me to look at Universal.

I’ve only been using it for a few months and here are two dashboards I currently have running at the office.

Server Dashboard

Clicking on any of the donut (doughnut) charts will bring up a separate page providing a table of the items and some of these have actions that can be perform. Here is an example of the VM Snapshot Status with an action to delete a snapshot.

Another item I’m releasing in the coming days is a tool for managers to handle contractor accounts around our policies for these accounts.

Contractor Account Management

Managers can extend (modify end date) accounts, reassign to another manager, request new accounts, or disable accounts. They can also filter the accounts by clicking different segments of the donut chart. Here is a view of the add request form (clicking Add).

The request form is not using New-UDForm as it didn’t provide the look and feel I desired.I hope these are helpful for others.

avatar

Thanks! This is extremely helpful!

Adam Driscoll

PowerShell Expert and Software Architect at Devolutions

avatar
(anonymous user)

Not to hi-jack the post, but how did you build the form without new-udform?

avatar

I simply created a modal (Show-UDModal) and added all of the components necessary to make the form, to include New-UDGrid (for layout), New-UDTypography (for form field labels), New-UDDynamic (for the red asterisk on the form field labels), New-UDElement and New-UDStyle (for spacing and styling), New-UDButton (Submit, Cancel, Clear), and of course New-UDTextbox, New-UDRadio, New-UDSelect, and New-UDAutoComplete for collecting inputs.

The biggest reason I didn’t use New-UDForm was that I wanted an indicator showing required forms and to dynamically change that indication. Therefore, I used New-UDTypography for the form field labels and then New-UDDynamic to add the red asterisk. When clicking submit but leaving a required field empty, I change the asterisk to REQUIRED as part of my button’s on click event. Additionally, I wanted a cancel and clear button on the form and adding one to an existing New-UDForm was clunky.

For reading the data, I simply build an custom object from the values of each field, run it through a validation, and then handle results as needed as part of the on click event.

Hope that helps.

avatar
(anonymous user)

Here is part of a “utilities” website/dashboard that allows users to run SQL Jobs that are maintained by d/b admins who are not proficient in PowerShell.

It’s a single .ps1 page in PSU that targets different SQL Agent Jobs based on the URL parameter.

One of these processes (screenshots below) requires running 5 separate SQL jobs in order (yes yes because “reasons” the users need to control the running and timing of each step). Each “UD-Chip” across the top is a SQL Job which reloads the “Job” tab reading in the SQL Job information like “Description” and each “job step”. The UD-Chips are either black when they haven’t been run for the day yet, red if the job previously failed or green when complete for that day.

(showing UD-Chip 3 and how each job step is shown matching the job steps from the sql job)

Upon clicking the “Run” button a confirmation modal pops up, and after clicking “Start” a broadcast message is sent out to all users, as well as updating/syncing the SQL Job info table and button states across all users who have the page open (this means if person A starts a job while person B is also looking at the same job info table, person B will be informed that the job has started and the “Run” button will be disabled for everyone)

(showing UD-Chip 1 - halfway through the sql job at job step 3)

While running, the job info table updates as each step is completed so the users can monitor what the SQL Job is doing.

Once complete a broadcast message is sent to all users, and the job info table updated to allow it to be run again if required (and the UD-Chip updates for this day)

(UD-Chip 1 complete, job info table resets, users can see last time the job was run)

This allows us to only give access to run the SQL jobs to the PSU service account.

We’re logging when each user runs a SQL job from PSU into a SQL Lite d/b (timestamp, username, ip etc) and display access to that for admins using a simple UD-Table.

avatar
(anonymous user)

Great idea. I have been looking for real-world examples myself a lot. For inspiration as well as education!

I’ll write a fairly detailed report of what I’ve created . As sort of a token of appreciation! PSU has benefited me in a lot of ways so far. I’ll finish/post the write-up Thursday or Friday.