Skip to content

Instantly share code, notes, and snippets.

@adamdriscoll
Created February 18, 2018 14:38
Show Gist options
  • Save adamdriscoll/08a8e26c2655b063bbb3d4548b395097 to your computer and use it in GitHub Desktop.
Save adamdriscoll/08a8e26c2655b063bbb3d4548b395097 to your computer and use it in GitHub Desktop.
Multiple data sets for New-UDMonitor
$dashboard = New-UDDashboard -Title "Test" -Content {
New-UDMonitor -Title "Monitor" -Id "Monitor" -ChartBackgroundColor @("#80962F23", "#8014558C") -ChartBorderColor @("#80962F23", "#8014558C") -Label @("Virutal Memory", "Physical Memory") -Type Line -EndPoint {
Out-UDMonitorData -Data @(
Get-Random
Get-Random
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment