# Set-RASPubDefaultSettings

## NAME

Set-RASPubDefaultSettings

## SYNOPSIS

Modifies default settings used to configure published resources.

## SYNTAX

**Set-RASPubDefaultSettings**\
\[-[ColorDepth](#ColorDepth) {Colors8Bit\
\| Colors15Bit | Colors16Bit | Colors24Bit | Colors32Bit |\
ClientSpecified}]\
\[[ConCurrentLicenses](#concurrentlicenses-string)_(uint)_]\
\[[CreateShortcutInStartFolder](#createshortcutinstartfolder-string)_(bool)_]\
\[[CreateShortcutInStartUpFolder](#createshortcutinstartupfolder-string)_(bool)_]\
\[[CreateShortcutOnDesktop](#createshortcutondesktop-string)_(bool)_]\
\[[DisableSessionSharing](#disablesessionsharing-string)_(bool)_]\
\[-[LicenseLimitNotify](#LicenseLimitNotify)\
{WarnUserAndNoStart | WarnUserAndStart | NotifyAdminAndStart |\
NotifyUserAdminAndStart | NotifyUserAdminAndNoStart}]\
\[-[MaintenanceMessage\_de\_DE](#MaintenanceMessage_de_DE)_(string)_]\
\[-[MaintenanceMessage\_en\_US](#MaintenanceMessage_en_US)_(string)_]\
\[-[MaintenanceMessage\_es\_ES](#MaintenanceMessage_es_ES)_(string)_]\
\[-[MaintenanceMessage\_fr\_FR](#MaintenanceMessage_fr_FR)_(string)_]\
\[-[MaintenanceMessage\_it\_IT](#MaintenanceMessage_it_IT)_(string)_]\
\[-[MaintenanceMessage\_ja\_JP](#MaintenanceMessage_ja_JP)_(string)_]\
\[-[MaintenanceMessage\_ko\_KR](#MaintenanceMessage_ko_KR)_(string)_]\
\[-[MaintenanceMessage\_nl\_NL](#MaintenanceMessage_nl_NL)_(string)_]\
\[-[MaintenanceMessage\_pt\_BR](#MaintenanceMessage_pt_BR)_(string)_]\
\[-[MaintenanceMessage\_zh\_CN](#MaintenanceMessage_zh_CN)_(string)_]\
\[-[MaintenanceMessage\_zh\_TW](#MaintenanceMessage_zh_TW)_(string)_]\
\[[OneInstancePerUser](#oneinstanceperuser-string)_(bool)_]\
\[[ReplicateDisplaySettings](#replicatedisplaysettings-string)_(bool)_]\
\[[ReplicateLicenseSettings](#replicatelicensesettings-string)_(bool)_]\
\[[ReplicateMaintenance](#replicatemaintenance-string)_(bool)_]\
\[[ReplicateShortcutSettings](#replicateshortcutsettings-string)_(bool)_] \[[SiteId](#siteid-string)_(uint)_]\
\[[StartFullscreen](#startfullscreen-string)_(bool)_]\
\[[StartMaximized](#startmaximized-string)_(bool)_] \[[StartPath](#startpath-string)_(string)_]\
\[[WaitForPrinters](#waitforprinters-string)_(bool)_]\
\[[WaitForPrintersTimeout](#waitforprinterstimeout-string)_(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Modifies default settings used to configure published resources.

For each setting, the cmdlet has a corresponding input parameter. To\
modify a setting, specify a matching parameter and its value.

To retrieve the current defaults settings, use the\
Get-RASPubDefaultSettings cmdlet.

## PARAMETERS

## SiteId (uint)

Site ID.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## CreateShortcutOnDesktop (bool)

Enable or disable the 'Create shortcut on Desktop' option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ReplicateShortcutSettings (bool)

Enable or disable the 'Replicate settings' option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## CreateShortcutInStartFolder (bool)

Enable or disable the 'Create shortcut in Start folder' option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## CreateShortcutInStartUpFolder (bool)

Enable or disable the 'Create shortcut in Auto Start folder' option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## StartPath (string)

Specifies a path in the Start folder.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ReplicateDisplaySettings (bool)

Enable or disable the "Replicate settings option'. This will replicate\
display settings to all sites.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## StartMaximized (bool)

Enable or disable the 'Start the application as maximized when using\
mobile clients" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## StartFullscreen (bool)

Enable or disable the 'Start in fullscreen mode for WYSE ThinOS clients"\
option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WaitForPrinters (bool)

Enable or disable the 'Wait until all RAS Universal Printers are\
redirected before showing the application" option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WaitForPrintersTimeout (uint)

Printer redirection timeout (in seconds). Works together with the\
WaitForPrinters parameter.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ColorDepth ([ColorDepth](../types/colordepth))

Specifies the display color depth setting.

Possible values are: Colors8Bit, Colors15Bit, Colors16Bit, Colors24Bit,\
Colors32Bit, ClientSpecified

Possible values: Colors8Bit, Colors15Bit, Colors16Bit, Colors24Bit,\
Colors32Bit, ClientSpecified

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ReplicateLicenseSettings (bool)

Enable or disable the 'Replicate settings' option. This will replicate\
license settings to all sites.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## DisableSessionSharing (bool)

Enable or disable the 'Disable session sharing' option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## OneInstancePerUser (bool)

Enable or disable the 'Allow users to start only one instance of the\
application' option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ConCurrentLicenses (uint)

Specifies the number of concurrent licenses (the 'Concurrent licenses'\
option).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## LicenseLimitNotify ([LimitNotify](../types/limitnotify))

Specifies an action to perform when the license limit is exceeded.

Possible values are: 0 (Warn user and do not start), 1 (Warn user and\
start),

2 (Notify administrator and start), 3 (Notify user, administrator and\
start),

4 (Notify user, administrator and do not start).

Possible values: WarnUserAndNoStart, WarnUserAndStart,\
NotifyAdminAndStart, NotifyUserAdminAndStart,\
NotifyUserAdminAndNoStart

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_en\_US (string)

Maintenance message for the published resource in English.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_ja\_JP (string)

Maintenance message for the published resource in Japanese.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_fr\_FR (string)

Maintenance message for the published resource in French.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_es\_ES (string)

Maintenance message for the published resource in Spanish.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_it\_IT (string)

Maintenance message for the published resource in Italian.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_pt\_BR (string)

Maintenance message for the published resource in Portuguese.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_de\_DE (string)

Maintenance message for the published resource in German.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_nl\_NL (string)

Maintenance message for the published resource in Dutch.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_zh\_TW (string)

Maintenance message for the published resource in Chinese\
(Traditional).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_zh\_CN (string)

Maintenance message for the published resource in Chinese\
(Simplified).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaintenanceMessage\_ko\_KR (string)

Maintenance message for the published resource in Korean.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ReplicateMaintenance (bool)

Enable or disable the 'Replicate Maintenance' option.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

-none-

## OUTPUTS

-none-

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

Set-RASPubDefaultSettings -SiteId 2 -CreateShortcutOnDesktop $true

Enables the 'Create shortcut on Desktop' option in default settings of\
the specified site.

## RELATED LINKS

* [Get-RASPubDefaultSettings](get-raspubdefaultsettings)
* [Set-RASPubRDSDesktop](set-raspubrdsdesktop)
* [Set-RASPubRDSApp](set-raspubrdsapp)
