-NotAuthorized and -PageNotFound parameters

I am working my way through the changelog from 2.9.2 to test out features, but am finding the documentation is not up to date. Can someone explain these two new parameters to me please? I found another post where it looks like they are expecting a code block, but it doesn’t seem the code block does anything. For example, if I use the following:

New-UDDashboard -Title 'PowerShell Universal' -PageNotFound {
    New-UDTypography -Text "Nope"
}  -Content {
    New-UDTypography -Text "Yep"

…this is what I get:


So the typography element in the PageNotFound parameter seems not to be honored. The same is true for the -NotAuthorized parameter. Could we get the docs updated, or an example on how to use these effectively?

Product: PowerShell Universal
Version: 2.10.0

it means you design what the notauthrorized element you want to return to users when page not found and you put that inside the scriptblock so no need for your second part of -Content{ New-UDTypography -Text “Yep”}

I added some examples here: Dashboards - PowerShell Universal

Awesome, thanks @adam