Is it possible to have a New-UDDynamic Typography update / place a datetime on dashboard header?

Hi,

Is it possible to have a New-UDDynamic with Typography update / place a datetime on dashboard header? Or is there any other way to place a Get-Date data in the New-UDDynamic on the header so it doesnt take any additional space?

Thanks in advance

Product: PowerShell Universal
Version: 1.4.6

You can use -HeaderContent of New-UDDashboard or New-UDPage. It’s already dynamic so you don’t need to use dynamic unless you want it to update on an interval.

New-UDDashboard -Content {
} -HeaderContent {
    New-UDTypography (Get-Date)
}

1 Like