Real-World Examples

You make my dashboards look bad. Lol, excellent work!

1 Like

Thanks! I put a lot of effort into it so your compliment is highly appreciated :slight_smile:

1 Like

I’m using PSU for two instances, the most used one is for a password self-service portal for internal production domains. I’d like to include screenshots, but they would contain too much blurred company info :wink:

For a textual overview of what the portal allows the user to do:

  • The user can request a service PIN (once only), which will be sent to his email address.
    • Will be provided in the future during onboarding
  • While unauthenticated, the user can
    • Change (known) passwords for users
    • Can reset a password for a user if
      • he knows the service PIN of the user account, and
      • has access to the user’s mailbox, since a transaction code is sent.
  • If the user authenticates to the portal with his external/office credentials, he can change/reset passwords without the TAN (the service PIN is still required for a reset).
    • Since we have matching information (the office user ID), we present a dropdown with all associated production user accounts.

Next to the dashboard, a scheduled task will query all user accounts with the timespan when the password expires. For the configured timespans, users will receive an email notifying them which user is about to expire.

1 Like

I’ve built a few dashboards over the years for various orgs, but like others haven’t really been able to showcase much due to sensitive info etc. Well I’m an avid home brewer and decided on a personal project recently using PSU.

Still quite a way to go and some definite tweaks to the look and feel are needed. But here’s a list of what’s been completed:

  • Public access as well as member and admin role based access (the auth is relayed through a second app)
  • Google OIDC Auth (pass through avatar, name & email address)
  • Profile page with on the fly editable settings
  • Recipes page with global, personal and saved lists
  • Rateable recipes, scores are aggregated
  • Recipes can be exported from any brewing software and imported into the site (adheres to the BeerXML standard)
  • Recipes can be exported from the site back to xml
  • Map view shows members approx location, breweries, and notable pubs that the collective visit with links to their external sites
  • New users can self register for access
  • Access requests have to be approved by site admins (custom admin portal for elevated members that doesnt use PSU back end)

Future plans:

  • Better profile pages that allow for showing off pictures of your own homebrew kit
  • Uploadable pictures to the recipes
  • Hop exchange, list and see others surplus stock, propose trades with members for the next meetup
  • Notifications, maybe integration with OneSignal for mobile notifications, or fall back to email if I give up trying to get that working
  • Meetup/Event information
  • Label Designer (integration with stable diffusion automatic1111 api)
  • Suggestion box & reportable issues
  • Figure out how to get Facebook auth working
  • More direct integration with the leeds homebrew club facebook group
7 Likes

I am currently building something similar. Would you be able to share (some) code of your solution? Would be greatly appreciated!!

Looks awesome!
Would you mind sharing the code, for the home page?
I cant get my cards / papers to behave like yours, where the image, header and normal text is aligned so nicely :slight_smile:

1 Like
$Parameters = @{
	Name    = 'home'
	Title   = 'Home'
	url     = '/'
	Content = {
		New-UDStack -Direction column -Content {
			New-UDCard -Content {
				New-UDCardHeader -Title 'Welcome to the NCE Dashboard!' -Avatar (New-UDAvatar -Image 'https://some.host.com/Cubics-icon_non-transparant.ico')
				New-UDCardBody -Content {
					New-UDTypography -Text 'Use the menu on the left or the cards below to navigate and use the various functions.' -Sx @{
						fontSize = '0.8rem'
						color = 'text.secondary'
					}
				}
			}
		}
		New-UDLayout -Columns 2 -Content {
			$features = @(
				@{
					Title = "Microsoft Partner Center"
					SubTitle = "NCE Subscriptions"
					Avatar = 'https://some.host.coml/microsoft.png'
					Url = "/nce-subscriptions"
					Description = "Quickly view all NCE subscriptions and Azure Plan charges per customer."
				},
				@{
					Title = 'Autotask'
					SubTitle = 'Customer Mapping'
					Avatar = 'https://some.host.com/autotask.png'
					Url = '/customer-mapping'
					Description = 'View and edit the mapping between Autotask and Microsoft Partner Companies.'
				},
				@{
					Title = 'Autotask'
					SubTitle = 'Contract Mapping'
					Avatar = 'https://some.host.com/autotask.png'
					Url = '/contract-mapping'
					Description = 'View and edit the mapping between Autotask and Microsoft Partner Contracts.'
				},
				@{
					Title = 'Autotask'
					SubTitle = 'Service Mapping'
					Url = '/service-mapping'
					Avatar = 'https://some.host.com/autotask.png'
					Description = 'View and edit the mapping between Autotask and Microsoft Partner Subscriptions.'
				}
			)

			$features | ForEach-Object {
				New-UDElement -Tag 'div' -Content {
					New-UDCard -Content {
						New-UDCardHeader -Title $_.Title -SubHeader $_.SubTitle -Avatar (New-UDAvatar -Image $_.Avatar)
						New-UDCardBody -Content {
							New-UDTypography -Text $_.Description -Sx @{
								fontSize = '0.8rem'
								color = 'text.secondary'
							}
						}
					} -Style @{
						cursor = 'pointer'
					}
				} -Attributes @{
					onClick = {
						Invoke-UDRedirect $_.Url
					}
				}
			}
		}
	}
}
New-UDPage @Parameters

hope it helps! :slight_smile:

2 Likes

We are finally starting to utilize dashboards. I’ve stolen some ideas off of this thread (great thread!)… is there a dedicated place with links to open source dashboard people have created? Through this thread and some google foo I found a couple, but I have to believe there are more. Just not sure if there is a central “link” location I can’t find… I know the scripts area exists on ironman but I’m talking about links to community created dashboards / projects on GitHub, etc.

I am not aware of any open source examples, other than the ones Ironman software have created - they can be found here:
PowerShell Universal Templates - Ironman Software

I had the same issue when i started using it, and sadly found the demo site very late in the process:
https://demo.powershelluniversal.com/

You can find a ton of inspiration there :slight_smile: