universal-dashboard icon indicating copy to clipboard operation
universal-dashboard copied to clipboard

Can't start a new dashboard

Open guidooliveira opened this issue 4 years ago • 3 comments

Start-UDDashboard : Cannot process argument transformation on parameter 'Port'. Cannot convert the "80" value of type "System.Int32" to type "System.Management.Automation.ParameterAttribute".

Start-UDDashboard doesn't support the -Dashboard or -Port in the latest install from the gallery

guidooliveira avatar Jan 26 '21 03:01 guidooliveira

I'm having the same issue. I just installed the module, "defined" a dashboard: $Dashboard = New-UDDashboard -Title "Technical Entry Form" -Content {}

But when I try to launch the dashboard: Start-UDDashboard -Port 1000 -Dashboard $Dashboard

This error is shown:

Start-UDDashboard : Cannot process argument transformation on parameter 'Port'. Cannot convert the "1000" value of
type "System.Int32" to type "System.Management.Automation.ParameterAttribute".

kbrigitta avatar Feb 23 '21 08:02 kbrigitta

wait a sec here, could you post your whole script? then we can figure it out...

Just-Ch33s3 avatar Apr 13 '21 18:04 Just-Ch33s3

$Dashboard = New-UDDashboard -Title "Hello, World!" -Content { New-UDHeading -Text "Hello, World!" -Size 1 } Start-UDDashboard -Dashboard $Dashboard -Port 1000 -AutoReload

mxvizcaino avatar Jan 08 '22 16:01 mxvizcaino