2 function Get-MyDashboard() {
3 $MyDashboard = New-UDDashboard -Title "Hello, World" -Content {
4 New-UDCard -Title "Hello, Universal Dashboard" -Content {
5 New-UDParagraph -Text 'I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.'
7 New-UDLink -Text 'This is a link' -Url '#!'
8 New-UDLink -Text 'This is a link' -Url '#!'
15 function Inovke-MyDashboard() {
16 Start-UDDashboard -Port 1000 -Dashboard Get-MyDashboard
17 Write-Host "http://localhost:1000"
20 Export-ModuleMember -Function Invoke-MyDashboard