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

Set-PSUBranding

Sets branding for PowerShell Universal.

SYNOPSIS

Sets branding for PowerShell Universal.

SYNTAX

Set-PSUBranding [-LoginPageImage <String>] [-AppBarLogo <String>] [-AdminConsoleTitle <String>]
 [-LoginPageTitle <String>] [-LoginPageText <String>] [-LoginPageDescription <String>] [-PrimaryColor <String>]
 [-SecondaryColor <String>] [-PrimaryFontColor <String>] [-SecondaryFontColor <String>]
 [-HeaderFontColor <String>] [-HeaderColor <String>] [-Copyright <String>] [-LoginPageLinks <LoginPageLink[]>]
 [-CssStylesheet <String[]>] [-CssStylesheetIntegrity <String[]>] [-PageNotFoundDescription <String>]
 [-NotAuthorizedDescription <String>] [-AppNotRunningDescription <String>] [-PageNotFoundTitle <String>]
 [-NotAuthorizedTitle <String>] [-LoggedOut <String>] [-LoggedOutDescription <String>] [-Favicon <String>]
 [-DarkAppBarLogo <String>] [-PortalTitle <String>] [-LoginPageTheme <ThemePreference>]
 [-LoginPageCssStylesheet <String>] [-LoginPageLayout <LoginPageLayout>] [-LoginPageBackgroundColor <String>]
 [-LoginPageLogoSize <String>] [-LoginPageFontColor <String>] [-ComputerName <String>] [-AppToken <String>]
 [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Updates portal, login page, and admin console branding settings for PowerShell Universal.

EXAMPLES

Example 1

Sets the branding for PowerShell Universal. The login page image and app bar logo are set to the specified image files. The admin console title is set to "My Admin Console".

PARAMETERS

-AdminConsoleTitle

The title of the admin console.

The URL of the logo to use in the app bar.

-AppNotRunningDescription

The text to display when the app is not running.

-AppToken

The AppToken that is used for calling the PowerShell Universal Management API. You can also call Connect-PSUServer before calling this cmdlet to set the AppToken for the entire session.

-ComputerName

Specifies the computer name or URL that should be called when accessing the PowerShell Universal Management API. You can also use Connect-PSUServer before calling this cmdlet to set the computer name for the entire session.

The copyright text to display in the footer.

-Credential

Credentials to login to the PowerShell Universal Management API.

-CssStylesheet

The URL of the CSS stylesheet to use for branding.

-CssStylesheetIntegrity

The integrity attribute for the CSS stylesheet.

-Favicon

The URL of the favicon to use for branding.

-HeaderColor

The header background color.

-HeaderFontColor

The header font color.

-Integrated

Whether the cmdlet should use the integrated PowerShell Universal Management API.

-LoggedOut

The text to display when the user is logged out.

-LoggedOutDescription

The text to display when the user is logged out.

-LoginPageDescription

The description to display on the login page.

-LoginPageImage

The URL of the image to use on the login page.

The links to display on the login page.

-LoginPageText

The text to display on the login page.

-LoginPageTitle

The title to display on the login page.

-NotAuthorizedDescription

The description to display when the user is not authorized.

-NotAuthorizedTitle

The title to display when the user is not authorized.

-PageNotFoundDescription

The description to display when the page is not found.

-PageNotFoundTitle

The title to display when the page is not found.

-PrimaryColor

The primary color to use for branding.

-PrimaryFontColor

The primary font color to use for branding.

-SecondaryColor

The secondary color to use for branding.

-SecondaryFontColor

The secondary font color to use for branding.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-UseDefaultCredentials

Whether the cmdlet should use the default credentials.

The URL of the dark logo to use in the app bar. This will be used when the dark theme is enabled.

-LoginPageTheme

The theme preference for the login page. This can be set to Light, Dark, or Auto. The default is Auto.

-PortalTitle

The title of the portal.

-LoginPageCssStylesheet

A style sheet for the login page.

-LoginPageLayout

The login page layout. Defaults to vertical.

-LoginPageBackgroundColor

The background color of the login page.

-LoginPageFontColor

The font color of the login page.

-LoginPageLogoSize

The size of of the login page logo. Pixels, percentages and any valid CSS width is allowed.

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