For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDPage

Creates a page within a dashboard.

SYNOPSIS

Creates a page within a dashboard.

SYNTAX

Simple (Default)

New-UDPage [-Id <String>] [-Name <String>] [-Url <String>] [-Description <String>] [-Role <String[]>]
 -Content <Endpoint> [-DefaultHomePage] [[-Title] <String>] [-OnLoading <ScriptBlock>]
 [-NavigationLayout <String>] [-Navigation <Hashtable[]>] [-Logo <String>] [-HeaderPosition <String>]
 [-HeaderColor <DashboardColor>] [-HeaderBackgroundColor <DashboardColor>] [-HeaderContent <Endpoint>]
 [-HideUserName] [-HideNavigation] [-Icon <Object>] [-LoadTitle <Endpoint>] [-Static] [-Generated]
 [-Layout <DesignerPageLayout>] [-BackgroundImage <String>] [-BackgroundRepeat] [-LogoComponent <Hashtable>]
 [-AutoInclude] [<CommonParameters>]

Advanced

New-UDPage [-Id <String>] [-Name <String>] [-Url <String>] [-Description <String>] [-Role <String[]>]
 -Content <Endpoint> [-DefaultHomePage] [[-Title] <String>] [-Blank] [-OnLoading <ScriptBlock>]
 [-HeaderPosition <String>] [-HeaderColor <DashboardColor>] [-HeaderBackgroundColor <DashboardColor>]
 [-HideUserName] [-HideNavigation] [-Icon <Object>] [-Static] [-Generated] [-Layout <DesignerPageLayout>]
 [-BackgroundRepeat] [-AutoInclude] [<CommonParameters>]

DynamicNav

DESCRIPTION

Creates a page within a dashboard.

EXAMPLES

PARAMETERS

-Blank

Creates a page without a header.

-Content

The content of this page.

-DefaultHomePage

Whether this page is the default home page. Only one page can be a default home page.

-Description

The description of this page.

-HeaderBackgroundColor

The header background color.

-HeaderColor

The header foreground color.

-HeaderContent

Additional header content to include.

-HeaderPosition

How to position the header.

-HideNavigation

Whether to hide the navigation.

-HideUserName

Whether to hide the user name when using an authenticated dashboard.

-Icon

The icon to display in the navigation for this page.

-Id

The ID of this page.

-LoadNavigation

Custom navigation to load dynamically.

-LoadTitle

Loads the title of this page dynamically.

The URL of the logo to display in the header.

-Name

The name of this page.

The static navigation to display on this page.

How to display the navigation.

-OnLoading

Content to display when the page is loading.

-Role

The role required to view this page.

-Title

The title to display in the header and title bar of this page.

-Url

The URL of this page.

-Static

A static page's content is not load dynamically when a user visits it and instead is constructed when the dashboard is started.

-Generated

Whether this page was generated by the PowerShell Universal app designer.

-Layout

The layout of components for this page. Used by the app designer.

-BackgroundImage

The background image to display on this page.

-BackgroundRepeat

Whether to repeat the background image.

-LogoComponent

The logo component to display in the header.

-AutoInclude

Automatically includes this page. No need to call Get-UDPage in the main app.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?