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

New-PSUPortalPage

Creates a new portal page in PowerShell Universal.

SYNOPSIS

Creates a new portal page in PowerShell Universal.

SYNTAX

New-PSUPortalPage -Name <String> [-Description <String>] [-Widget <PortalComponentInstance[]>] [-Authenticated]
 [-Role <String[]>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Creates a new portal page in PowerShell Universal. Pages can be authenticated, restricted to roles, and composed from portal component widgets.

EXAMPLES

Example 1

PS C:\> New-PSUPortalPage -Name Operations -Description "Operations landing page"

Creates a portal page named Operations.

PARAMETERS

-AppToken

Specifies the app token to use when authenticating to the PowerShell Universal management API.

-Authenticated

Requires authenticated users before the resource can be accessed or invoked.

-ComputerName

Specifies the URL or host name of the target PowerShell Universal instance. Bare host names are normalized to an http://:5000 URL.

-Credential

Credentials to login to the PowerShell Universal Management API.

-Description

Specifies a description for the resource.

-Integrated

Uses the in-process integrated management client when the cmdlet runs inside PowerShell Universal.

-Name

Specifies the name of the resource.

-Role

Specifies one or more roles to assign or allow.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-UseDefaultCredentials

Uses the current Windows credentials when authenticating to the management API.

-Widget

Specifies the portal components to place on the page.

-Cookies

Reuses and persists authentication cookies for the current PowerShell session.

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?