Introducing PowerShell Universal Dashboard

Universal Dashboard (PoshUD or UD) is a great PowerShell module created by MVP Adam Driscoll.

What is it?

Universal Dashboard is a cross-platform PowerShell module for developing and hosting web-based, interactive dashboards. It means that you can use your PowerShell skills to develop awesome dashboards! The Web-Based Dashboards are built entirely in PowerShell.

One of the cool things is that you can run Universal Dashboard anywhere PowerShell is installed! So yes, you can run UD on Windows, Linux, … You just need to have Windows PowerShell v5 or PowerShell Core v6 installed on your machine in order to run PoshUD.

Getting Started

Let’s start by installing the PoshUD module. PowerShell Universal Dashboard is available on the PowerShell Gallery but it is not free. You must have at least a trial license. Run the following command in order to install PoshUD from the Powershell Gallery:

Let’s confirm that UniversalDashboard has been installed:

Now, we need to generate a trial license. Copy and paste the following script or get it from here:

 

And open your favorite web browser and type the following URL: http://localhost:8080/

Enter your email address in order to receive a trial license. Copy and paste the license:

and refresh the page in order to display your first dashboard!

Done! You have successfully installed your first web dashboard!

Customizations

You can easily customize your dashboard. Let’s imagine you want to list the 10 largest files in a folder. Copy and past the following code:

This code will create a new dashboard listening on: http://localhost:1006. This dashboard will display the top 10 largest files in your current folder.

That’s all. Thanks to Powershell Universal Dashboard, you can now easily create your own dashboards.

If you need more examples, you can go on this page: https://github.com/adamdriscoll/poshprotools/tree/master/examples

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 196 Articles
I work as a System Engineer, based in Switzerland with a primary focus on Microsoft technologies. I have 7 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSA: Windows Server 2012" and "Administering & Deploying SCCM" certified.