Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start a new dashboard #1679

Open
guidooliveira opened this issue Jan 26, 2021 · 3 comments
Open

Can't start a new dashboard #1679

guidooliveira opened this issue Jan 26, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@guidooliveira
Copy link

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 guidooliveira added the bug Something isn't working label Jan 26, 2021
@kbrigitta
Copy link

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".

@Just-Ch33s3
Copy link

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

@mxvizcaino
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants