Dashboards are individual websites created with Universal Dashboard. You can define settings for a dashboard and start and stop the dashboard from within the Universal administrative interface.
Dashboards can be added to Universal using the Add Dashboard button from the Dashboard / Dashboards page.
Name is displayed throughout the UI and returned from the Universal cmdlets.
The base URL is the URL that you will access to view this dashboard. This URL needs to be unique within this instance. You can specify the
/ root URL if you wish. You will have to visit
/admin to login to the administrative page if you set the dashboard to the root URL.
The full file name to the dashboard file. This file needs to return a dashboard using New-UDDashboard.
The framework that the dashboard was designed for. By default, Universal Dashboard v2.9 and v3.0 are supported.
The environment to run the dashboard within.
Enables authentication for the dashboard.
Defines the role that is required to access the dashboard.
Determines whether the dashboard should start (or restart) when the server starts or changes are made to the dashboard files.
Similar to jobs, dashboards run in separate PowerShell processes. You can start and stop a dashboard process by clicking the Start or Stop button from the Dashboards page.
You can view diagnostic information for a dashboard by clicking the Info button on the Dashboards page. This will show your start information for the dashboard as well as any error that were encountered when starting the dashboard.
You can view the dashboard by clicking the View button. This will take you to the Base URL for the dashboard.
On the dashboard information page, click on the Console tab to view the UD console. The console allows you to run scripts from within the UD runspace so you can better debug the state of your script. You can evaluate variables and run commands that are available to the dashboard. You will be running in the context of your user in regards to the runspace but the process will be running as the service account user.
Custom component libraries provide additional components to dashboards. There are three built in component libraries that are not automatically imported into your dashboards.
To add these components to your dashboard, you can use the dashboard UI.
Click the info button on the dashboard page.
Next, click the components button in the top right of your dashboard.
Finally, check the component library you'd like added to your dashboard.
You can also add component libraries directly to your
dashboards.ps1 script within the
.unversal folder or when using single-file hosting and configuration.
New-PSUDashboard -Name 'Dashboard' -BaseUrl '/' -Framework "UniversalDashboard:Latest" -Component @("UniversalDashboard.Charts:1.3.0")