New-PSUPortalComponent
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://<host>: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
RELATED LINKS
PERMISSIONS
The access token requires portal.components/create to run this cmdlet remotely.
Last updated
Was this helpful?