> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rastheme.md).

# Set-RASTheme

## SYNOPSIS

Modifies settings of a theme.

## SYNTAX

```powershell
Set-RASTheme [-Id] <uint> [-AllowAppsInNewTab <bool>] [-AllowCEPOptIn <bool>]
 [-AllowCookieConsent <bool>] [-AllowCORS <bool>]
 [-AllowedAuthTypes {UsernamePassword | SmartCard | Web | WebCredentials | UsernamePasswordOrSmartCard}]
 [-AllowedDomainsForCORS <List`1>] [-AllowEmbed <bool>] [-AllowEULA <bool>]
 [-AllowLaunchMethod <bool>] [-AllowTunneling <bool>] [-ApplicationIconFile <string>]
 [-ApplicationName <string>] [-BrowserCacheTimeInMonths <uint>] [-ButtonsBackgroundColor <uint>]
 [-ButtonsTextColor <uint>] [-ClientDetectionTimeout <uint>]
 [-ClientIPPDetectionServiceURL <string>] [-ClientPublicIPCustomURL <string>]
 [-ClientPublicIPDetectMode {Disabled | Parallels | Custom}]
 [-ClipboardDirection {None | ClientToServer | ServerToClient | Bidirectional}] [-Command <string>]
 [-CompanyLogoFile <string>] [-CompanyName <string>] [-ConnectionBannerFile <string>]
 [-CustomWorkAreaImageFit {Fill | Tile | Center | Fit}] [-CustomWorkAreaImageId <uint>]
 [-CustomWorkAreaImageType {URL | File}] [-CustomWorkAreaImageURL <string>] [-Description <string>]
 [-DetectClientMode {Automatic | Manual}] [-Domain <string>] [-Enabled <bool>]
 [-FaviconIconFile <string>]
 [-FileTransferMode {Disabled | ClientToServer | ServerToClient | Bidirectional}]
 [-GroupEnabled <bool>] [-HeaderBackgroundColor <uint>] [-HeaderOptions {Blurred | SolidColor}]
 [-LanguageBar_de_DE <bool>]
 [-LanguageBar_Default {Default | English | German | Japanese | French | Spanish | Italian | Portuguese | ChineseSimplified | ChineseTraditional | Korean | Dutch}]
 [-LanguageBar_en_US <bool>] [-LanguageBar_es_ES <bool>] [-LanguageBar_fr_FR <bool>]
 [-LanguageBar_it_IT <bool>] [-LanguageBar_ja_JP <bool>] [-LanguageBar_ko_KR <bool>]
 [-LanguageBar_nl_NL <bool>] [-LanguageBar_pt_BR <bool>] [-LanguageBar_zh_CN <bool>]
 [-LanguageBar_zh_TW <bool>]
 [-LaunchMethod {Launch_Applications_with_Parallels_Client_Fallback_to_WebClient | Launch_Applications_with_Parallels_Client | Launch_Applications_with_WebClient}]
 [-LoginHint_de_DE <string>] [-LoginHint_en_US <string>] [-LoginHint_es_ES <string>]
 [-LoginHint_fr_FR <string>] [-LoginHint_it_IT <string>] [-LoginHint_ja_JP <string>]
 [-LoginHint_ko_KR <string>] [-LoginHint_nl_NL <string>] [-LoginHint_pt_BR <string>]
 [-LoginHint_zh_CN <string>] [-LoginHint_zh_TW <string>] [-LoginPageURLPath <string>]
 [-LoginTo <string>] [-MenuItem <string>] [-MFAId <uint>] [-NewName <string>]
 [-OverrideAllowedAuthTypes <bool>] [-OverrideAuthenticationDomain <bool>]
 [-OverrideGatewaySettings <bool>] [-OverridePostLogonMessage <bool>]
 [-OverrideWindowsClientDownloadURL <string>] [-PasswordHint_de_DE <string>]
 [-PasswordHint_en_US <string>] [-PasswordHint_es_ES <string>] [-PasswordHint_fr_FR <string>]
 [-PasswordHint_it_IT <string>] [-PasswordHint_ja_JP <string>] [-PasswordHint_ko_KR <string>]
 [-PasswordHint_nl_NL <string>] [-PasswordHint_pt_BR <string>] [-PasswordHint_zh_CN <string>]
 [-PasswordHint_zh_TW <string>] [-PostLogonMessage <string>] [-Pre2000Cred <bool>]
 [-PreLogonMessage <string>] [-ProgressBarColor <uint>] [-ShowDownloadURL <bool>]
 [-UseAutoKeyboardDetect <bool>] [-UseClientIPDetectionService <bool>]
 [-UserPortalPostLogonMessage <string>] [-WebpageTitle <string>]
 [-WindowsClientOverridePostLogonMessage <bool>] [-WindowsClientPostLogonMessage <string>]
 [-WorkAreaBackgroundColor <uint>]
 [-WorkAreaImage {SolidColor | Image1 | Image2 | Image3 | Image4 | Image5 | Custom}]
 [-WorkAreaTextColor <uint>] [<CommonParameters>]
```

```powershell
Set-RASTheme [-Name] <string> [[-SiteId] <uint>] [-AllowAppsInNewTab <bool>] [-AllowCEPOptIn <bool>]
 [-AllowCookieConsent <bool>] [-AllowCORS <bool>]
 [-AllowedAuthTypes {UsernamePassword | SmartCard | Web | WebCredentials | UsernamePasswordOrSmartCard}]
 [-AllowedDomainsForCORS <List`1>] [-AllowEmbed <bool>] [-AllowEULA <bool>]
 [-AllowLaunchMethod <bool>] [-AllowTunneling <bool>] [-ApplicationIconFile <string>]
 [-ApplicationName <string>] [-BrowserCacheTimeInMonths <uint>] [-ButtonsBackgroundColor <uint>]
 [-ButtonsTextColor <uint>] [-ClientDetectionTimeout <uint>]
 [-ClientIPPDetectionServiceURL <string>] [-ClientPublicIPCustomURL <string>]
 [-ClientPublicIPDetectMode {Disabled | Parallels | Custom}]
 [-ClipboardDirection {None | ClientToServer | ServerToClient | Bidirectional}] [-Command <string>]
 [-CompanyLogoFile <string>] [-CompanyName <string>] [-ConnectionBannerFile <string>]
 [-CustomWorkAreaImageFit {Fill | Tile | Center | Fit}] [-CustomWorkAreaImageId <uint>]
 [-CustomWorkAreaImageType {URL | File}] [-CustomWorkAreaImageURL <string>] [-Description <string>]
 [-DetectClientMode {Automatic | Manual}] [-Domain <string>] [-Enabled <bool>]
 [-FaviconIconFile <string>]
 [-FileTransferMode {Disabled | ClientToServer | ServerToClient | Bidirectional}]
 [-GroupEnabled <bool>] [-HeaderBackgroundColor <uint>] [-HeaderOptions {Blurred | SolidColor}]
 [-LanguageBar_de_DE <bool>]
 [-LanguageBar_Default {Default | English | German | Japanese | French | Spanish | Italian | Portuguese | ChineseSimplified | ChineseTraditional | Korean | Dutch}]
 [-LanguageBar_en_US <bool>] [-LanguageBar_es_ES <bool>] [-LanguageBar_fr_FR <bool>]
 [-LanguageBar_it_IT <bool>] [-LanguageBar_ja_JP <bool>] [-LanguageBar_ko_KR <bool>]
 [-LanguageBar_nl_NL <bool>] [-LanguageBar_pt_BR <bool>] [-LanguageBar_zh_CN <bool>]
 [-LanguageBar_zh_TW <bool>]
 [-LaunchMethod {Launch_Applications_with_Parallels_Client_Fallback_to_WebClient | Launch_Applications_with_Parallels_Client | Launch_Applications_with_WebClient}]
 [-LoginHint_de_DE <string>] [-LoginHint_en_US <string>] [-LoginHint_es_ES <string>]
 [-LoginHint_fr_FR <string>] [-LoginHint_it_IT <string>] [-LoginHint_ja_JP <string>]
 [-LoginHint_ko_KR <string>] [-LoginHint_nl_NL <string>] [-LoginHint_pt_BR <string>]
 [-LoginHint_zh_CN <string>] [-LoginHint_zh_TW <string>] [-LoginPageURLPath <string>]
 [-LoginTo <string>] [-MenuItem <string>] [-MFAId <uint>] [-NewName <string>]
 [-OverrideAllowedAuthTypes <bool>] [-OverrideAuthenticationDomain <bool>]
 [-OverrideGatewaySettings <bool>] [-OverridePostLogonMessage <bool>]
 [-OverrideWindowsClientDownloadURL <string>] [-PasswordHint_de_DE <string>]
 [-PasswordHint_en_US <string>] [-PasswordHint_es_ES <string>] [-PasswordHint_fr_FR <string>]
 [-PasswordHint_it_IT <string>] [-PasswordHint_ja_JP <string>] [-PasswordHint_ko_KR <string>]
 [-PasswordHint_nl_NL <string>] [-PasswordHint_pt_BR <string>] [-PasswordHint_zh_CN <string>]
 [-PasswordHint_zh_TW <string>] [-PostLogonMessage <string>] [-Pre2000Cred <bool>]
 [-PreLogonMessage <string>] [-ProgressBarColor <uint>] [-ShowDownloadURL <bool>]
 [-UseAutoKeyboardDetect <bool>] [-UseClientIPDetectionService <bool>]
 [-UserPortalPostLogonMessage <string>] [-WebpageTitle <string>]
 [-WindowsClientOverridePostLogonMessage <bool>] [-WindowsClientPostLogonMessage <string>]
 [-WorkAreaBackgroundColor <uint>]
 [-WorkAreaImage {SolidColor | Image1 | Image2 | Image3 | Image4 | Image5 | Custom}]
 [-WorkAreaTextColor <uint>] [<CommonParameters>]
```

## DESCRIPTION

Modifies settings of a theme.

## EXAMPLES

### Example 1

```powershell
Set-RASTheme -Name NewTheme -NewName EditedTheme
```

Changes the name of the theme from NewTheme to EditedTheme.

## PARAMETERS

### -NewName

General: The new name of the specified Theme

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Description

General: Description of the Theme

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Enabled

General: Whether Theme is enabled or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -MFAId

General: The MFA Provider Id. One can set MFAId as 0 to unassign MFA from a theme.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideAuthenticationDomain

General: Whether to override the authentication domain

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Domain

General: The domain used

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -GroupEnabled

General: Whether to limit Themes to a certain group

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PostLogonMessage

Messages: The post-logon message

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginPageURLPath

User Portal - URLs: The Theme login page URL Path following protocol and domain such as '<https://FQDN/path>'.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ShowDownloadURL

User Portal - URLs: Whether to show the download URL

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideWindowsClientDownloadURL

User Portal - URLs: The Override download URL for branded Parallels Client (Windows)

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WebpageTitle

User Portal - Branding: The Webpage Title

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginTo

User Portal - Branding: Change the Login To message in the User Portal login screen.

The message can consist of any text and may include RAS variables: %FARM%, %SITE% or %THEME%.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CompanyLogoFile

User Portal - Branding: The Company Logo File path

Suggested resolution: 225 x 50 pixels

If empty, the Company Logo is reset to default.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -FaviconIconFile

User Portal - Branding: The Favicon Image File path

If empty, the Favicon Icon is reset to default.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -HeaderOptions

User Portal - Colors: The header options.

Possible values: Blurred, SolidColor

Type reference: [HeaderOptions](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/headeroptions.md)

```yaml
Type: HeaderOptions
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WorkAreaImage

User Portal - Colors: The work area image.

Possible values: SolidColor, Image1, Image2, Image3, Image4, Image5, Custom

Type reference: [WorkAreaImage](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/workareaimage.md)

```yaml
Type: WorkAreaImage
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CustomWorkAreaImageType

User Portal - Colors: The custom work area image type.

Possible values: URL, File

Type reference: [CustomWorkAreaImageType](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/customworkareaimagetype.md)

```yaml
Type: CustomWorkAreaImageType
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CustomWorkAreaImageURL

User Portal - Colors: The custom work area image URL.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CustomWorkAreaImageId

User Portal - Colors: The custom work area image Id.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CustomWorkAreaImageFit

User Portal - Colors: The custom work area image fit.

Possible values: Fill, Tile, Center, Fit

Type reference: [CustomWorkAreaImageFit](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/customworkareaimagefit.md)

```yaml
Type: CustomWorkAreaImageFit
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -HeaderBackgroundColor

User Portal - Colors: The header background color. Accepts a sRGB value. E.g. Red - 0xFF0000, Green - 0x00FF00, Blue - 0x0000FF.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WorkAreaBackgroundColor

User Portal - Colors: The work area background color. Accepts a sRGB value. E.g. Red - 0xFF0000, Green - 0x00FF00, Blue - 0x0000FF.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WorkAreaTextColor

User Portal - Colors: The work area text color. Accepts a sRGB value. E.g. Red - 0xFF0000, Green - 0x00FF00, Blue - 0x0000FF.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ButtonsBackgroundColor

User Portal - Colors: The buttons background and link color. Accepts a sRGB value. E.g. Red - 0xFF0000, Green - 0x00FF00, Blue - 0x0000FF.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ButtonsTextColor

User Portal - Colors: The buttons text color. Accepts a sRGB value. E.g. Red - 0xFF0000, Green - 0x00FF00, Blue - 0x0000FF.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_Default

User Portal - Language bar: The Default Language Bar Type

Possible values: Default, English, German, Japanese, French, Spanish, Italian, Portuguese, ChineseSimplified, ChineseTraditional, Korean, Dutch

Type reference: [LanguageType](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/languagetype.md)

```yaml
Type: LanguageType
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_de\_DE

User Portal - Language bar: Whether to enable the German Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_en\_US

User Portal - Language bar: Whether to enable the English (US) Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_es\_ES

User Portal - Language bar: Whether to enable the Spanish Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_fr\_FR

User Portal - Language bar: Whether to enable the French Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_it\_IT

User Portal - Language bar: Whether to enable the Italian Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_ja\_JP

User Portal - Language bar: Whether to enable the Japanese Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_ko\_KR

User Portal - Language bar: Whether to enable the Korean Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_nl\_NL

User Portal - Language bar: Whether to enable the Dutch Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_pt\_BR

User Portal - Language bar: Whether to enable the Portuguese Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_zh\_CN

User Portal - Language bar: Whether to enable the Chinese Simplified Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LanguageBar\_zh\_TW

User Portal - Language bar: Whether to enable the Chinese Traditional Language Bar or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PreLogonMessage

User Portal - Messages: The Pre-Logon message

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -UserPortalPostLogonMessage

User Portal - Messages: The Post-Logon message

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverridePostLogonMessage

User Portal - Messages: Whether to override the post-logon message

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_de\_DE

User Portal - Input prompt: The User Prompt: German

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_de\_DE

User Portal - Input prompt: The Password Prompt: German

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_en\_US

User Portal - Input prompt: The User Prompt: English (US)

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_en\_US

User Portal - Input prompt: The Password Prompt: English (US)

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_es\_ES

User Portal - Input prompt: The User Prompt: Spanish

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_es\_ES

User Portal - Input prompt: The Password Prompt: Spanish

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_fr\_FR

User Portal - Input prompt: The User Prompt: French

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_fr\_FR

User Portal - Input prompt: The Password Prompt: French

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_it\_IT

User Portal - Input prompt: The User Prompt: Italian

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_it\_IT

User Portal - Input prompt: The Password Prompt: Italian

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_ja\_JP

User Portal - Input prompt: The User Prompt: Japanese

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_ja\_JP

User Portal - Input prompt: The Password Prompt: Japanese

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_ko\_KR

User Portal - Input prompt: The User Prompt: Korean

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_ko\_KR

User Portal - Input prompt: The Password Prompt: Korean

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_nl\_NL

User Portal - Input prompt: The User Prompt: Dutch

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_nl\_NL

User Portal - Input prompt: The Password Prompt: Dutch

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_pt\_BR

User Portal - Input prompt: The User Prompt: Portuguese

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_pt\_BR

User Portal - Input prompt: The Password Prompt: Portuguese

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_zh\_CN

User Portal - Input prompt: The User Prompt: Chinese Simplified

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_zh\_CN

User Portal - Input prompt: The Password Prompt: Chinese Simplified

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LoginHint\_zh\_TW

User Portal - Input prompt: The User Prompt: Chinese Traditional

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PasswordHint\_zh\_TW

User Portal - Input prompt: The Password Prompt: Chinese Traditional

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideGatewaySettings

User Portal - Gateway: Whether to override the gateway settings for the Theme

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LaunchMethod

User Portal - Gateway: The Launch session method

Possible values: Launch\_Applications\_with\_Parallels\_Client\_Fallback\_to\_WebClient, Launch\_Applications\_with\_Parallels\_Client, Launch\_Applications\_with\_WebClient

Type reference: [LaunchSession](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/launchsession.md)

```yaml
Type: LaunchSession
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowLaunchMethod

User Portal - Gateway: Whether to allow the user to launch session using a particular method

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowAppsInNewTab

User Portal - Gateway: Whether to allow applications in a new tab

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Pre2000Cred

User Portal - Gateway: Whether to use the pre windows 2000 format

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowEmbed

User Portal - Gateway: Whether to allow embed

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -UseAutoKeyboardDetect

Use automatic keyboard layout detection.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -FileTransferMode

User Portal - Gateway: Specifies if File Transfer option is allowed and if yes, which directions are allowed.

Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional

Type reference: [FileTransferControlMode](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/filetransfercontrolmode.md)

```yaml
Type: FileTransferControlMode
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClipboardDirection

User Portal - Gateway: Specifies if Clipboard Direction option is allowed and if yes, which directions are allowed.

Possible values: None, ClientToServer, ServerToClient, Bidirectional

Type reference: [ClipboardDirections](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/clipboarddirections.md)

```yaml
Type: ClipboardDirections
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowCORS

User Portal - Gateway: Whether to allow cross-origin resource sharing

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowedDomainsForCORS

User Portal - Gateway: Allowed domains for cross-origin resource sharing.

```yaml
Type: List`1
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -BrowserCacheTimeInMonths

User Portal - Gateway: How long should the browser preserve the cache (in months).

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -UseClientIPDetectionService

Use Client Private IP detection service.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClientIPPDetectionServiceURL

Client Private IP detection service URL.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DetectClientMode

Detection mode.

Automatically on sign in

Manually on user prompt (Default)

Possible values: Automatic, Manual

Type reference: [DetectClientMode](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/detectclientmode.md)

```yaml
Type: DetectClientMode
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClientDetectionTimeout

Client detection timeout in seconds.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowCookieConsent

User Portal - Legal policies: Whether to allow cookies or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowEULA

User Portal - Legal policies: Whether to allow EULA

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowCEPOptIn

User Portal - Legal policies: Whether to allow CEP opt-in or not

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CompanyName

Windows client - Branding: The Company Name

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ApplicationName

Windows client - Branding: The Application Name

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ConnectionBannerFile

Windows client - Branding: The Connection Banner File path

Suggested resolution: 479 x 75 pixels

If empty, the Connection Banner is reset to default.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ProgressBarColor

Windows client - Branding: The progress bar color. Accepts a sRGB value. E.g. Red - 0xFF0000, Green - 0x00FF00, Blue - 0x0000FF.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ApplicationIconFile

Windows client - Branding: The Application Icon File path

If empty, the Application Icon is reset to default.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WindowsClientOverridePostLogonMessage

Windows client - Messages: Whether to allow the override post-logon message

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WindowsClientPostLogonMessage

Windows client - Messages: The post-logon message

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -MenuItem

Windows client - Custom menu: The Menu Item

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Command

Windows client - Custom menu: The Command

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowTunneling

Access: If tunneling should be enabled on theme

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideAllowedAuthTypes

Authentication: Whether to override the allowed authentication types.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowedAuthTypes

Authentication: The allowed authentication types.

Possible values: UsernamePassword, SmartCard, Web, WebCredentials, UsernamePasswordOrSmartCard

Type reference: [AuthenticationTypes](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/authenticationtypes.md)

```yaml
Type: AuthenticationTypes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClientPublicIPDetectMode

The Client Public IP Detect Mode

Possible values: Disabled, Parallels, Custom

Type reference: [ClientPublicIPDetectMode](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/clientpublicipdetectmode.md)

```yaml
Type: ClientPublicIPDetectMode
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ClientPublicIPCustomURL

The Client Public IP Custom URL

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Name

Name of the Theme policy to modify.

This must be the actual Theme policy name used in the RAS farm.

```yaml
Type: string
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SiteId

The site ID to which to add the specified server.

If the parameter is omitted, the Licensing Server site ID will be used.

```yaml
Type: uint
Required: False
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -Id

The ID of the Theme policy to modify. To obtain the ID, use the Get-RASTheme cmdlet.

```yaml
Type: uint
Required: True
Position: 0
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### None

## RELATED LINKS

* [New-RASTheme](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/new-rastheme.md)
* [Remove-RASTheme](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/remove-rastheme.md)
* [Get-RASTheme](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rastheme.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rastheme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
