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

New-PSUPortalComponent

Adds a new portal component.

SYNOPSIS

Adds a new portal component.

SYNTAX

New-PSUPortalComponent -Name <String> [-Description <String>] [-Title <String>] [-AvailableInBranch <String[]>]
 [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials]
 [-Integrated] [-TrustCertificate] [-Cookies] [<CommonParameters>]

DESCRIPTION

Adds a new portal component.

EXAMPLES

Example 1

PS C:\> New-PSUPortalComponent -Name incident-summary -Title "Incident Summary" -Description "Shows current incidents"

Creates a portal component named incident-summary.

PARAMETERS

-AppToken

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

-AvailableInBranch

Specifies the Git branches where the resource is available.

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

-Title

Specifies the display title shown for the resource.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-UseDefaultCredentials

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

-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?