A couple of questions. in working up a new dashboard in Powershell Universal I have the following code.
New-UDDashboard -Title 'PowerShell Universal' -Content {
New-UDTabContainer -Tabs {
New-UDTab -Text "Applications" -Content {
New-UDElement -Tag 'div' -Content { $gridapp
}
}
New-UDTab -Text "Database" -Content {
New-UDElement -Tag 'div' -Content { $griddb }
}
New-UDTab -Text "Docker" -Content {
New-UDElement -Tag 'div' -Content { $griddocker }
}
New-UDTab -Text "Mobile" -Content {
New-UDElement -Tag 'div' -Content { $gridmobile }
}
}
}
I am getting this error
- The term 'New-UDTabContainer' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at 1bedda39-cef5-4897-9f7e-e9fe283b48b9:1963
- 1bedda39-cef5-4897-9f7e-e9fe283b48b9:1962
-
Is New-UDTabContainer not part of Powershell Universal or am I missing something?
-
can I define variables outside of the New-UDDashboard as i am doing with $gridapp, $griddb, etc?