Set-RASPubDefaultSettings
Modifies default settings used to configure published resources.
Set-RASPubDefaultSettings [-ColorDepth {Colors8Bit | Colors15Bit | Colors16Bit | Colors24Bit | Colors32Bit | ClientSpecified}] [-ConCurrentLicenses <uint>] [-CreateShortcutInStartFolder <bool>] [-CreateShortcutInStartUpFolder <bool>] [-CreateShortcutOnDesktop <bool>] [-DisableSessionSharing <bool>] [-LicenseLimitNotify {WarnUserAndNoStart | WarnUserAndStart | NotifyAdminAndStart | NotifyUserAdminAndStart | NotifyUserAdminAndNoStart}] [-MaintenanceMessage_de_DE <string>] [-MaintenanceMessage_en_US <string>] [-MaintenanceMessage_es_ES <string>] [-MaintenanceMessage_fr_FR <string>] [-MaintenanceMessage_it_IT <string>] [-MaintenanceMessage_ja_JP <string>] [-MaintenanceMessage_ko_KR <string>] [-MaintenanceMessage_nl_NL <string>] [-MaintenanceMessage_pt_BR <string>] [-MaintenanceMessage_zh_CN <string>] [-MaintenanceMessage_zh_TW <string>] [-OneInstancePerUser <bool>] [-ReplicateDisplaySettings <bool>] [-ReplicateLicenseSettings <bool>] [-ReplicateMaintenance <bool>] [-ReplicateShortcutSettings <bool>] [-SiteId <uint>] [-StartFullscreen <bool>] [-StartMaximized <bool>] [-StartPath <string>] [-WaitForPrinters <bool>] [-WaitForPrintersTimeout <uint>] [<CommonParameters>]
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.
-SiteId <uint> Site ID.
-CreateShortcutOnDesktop <bool> Enable or disable the 'Create shortcut on Desktop' option.
-ReplicateShortcutSettings <bool> Enable or disable the 'Replicate settings' option.
-CreateShortcutInStartFolder <bool> Enable or disable the 'Create shortcut in Start folder' option.
-CreateShortcutInStartUpFolder <bool> Enable or disable the 'Create shortcut in Auto Start folder' option.
-StartPath <string> Specifies a path in the Start folder.
-ReplicateDisplaySettings <bool> Enable or disable the "Replicate settings option'. This will replicate display settings to all sites.
-StartMaximized <bool> Enable or disable the 'Start the application as maximized when using mobile clients" option.
-StartFullscreen <bool> Enable or disable the 'Start in fullscreen mode for WYSE ThinOS clients" option.
-WaitForPrinters <bool> Enable or disable the 'Wait until all RAS Universal Printers are redirected before showing the application" option.
-WaitForPrintersTimeout <uint> Printer redirection timeout (in seconds). Works together with the WaitForPrinters parameter.
-ColorDepth <ColorDepth> Specifies the display color depth setting. Possible values are: Colors8Bit, Colors15Bit, Colors16Bit, Colors24Bit, Colors32Bit, ClientSpecified Possible values: Colors8Bit, Colors15Bit, Colors16Bit, Colors24Bit, Colors32Bit, ClientSpecified
-ReplicateLicenseSettings <bool> Enable or disable the 'Replicate settings' option. This will replicate license settings to all sites.
-DisableSessionSharing <bool> Enable or disable the 'Disable session sharing' option.
-OneInstancePerUser <bool> Enable or disable the 'Allow users to start only one instance of the application' option.
-ConCurrentLicenses <uint> Specifies the number of concurrent licenses (the 'Concurrent licenses' option).
-LicenseLimitNotify <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
-MaintenanceMessage_en_US <string> Maintenance message for the published resource in English.
-MaintenanceMessage_ja_JP <string> Maintenance message for the published resource in Japanese.
-MaintenanceMessage_fr_FR <string> Maintenance message for the published resource in French.
-MaintenanceMessage_es_ES <string> Maintenance message for the published resource in Spanish.
-MaintenanceMessage_it_IT <string> Maintenance message for the published resource in Italian.
-MaintenanceMessage_pt_BR <string> Maintenance message for the published resource in Portuguese.
-MaintenanceMessage_de_DE <string> Maintenance message for the published resource in German.
-MaintenanceMessage_nl_NL <string> Maintenance message for the published resource in Dutch.
-MaintenanceMessage_zh_TW <string> Maintenance message for the published resource in Chinese (Traditional).
-MaintenanceMessage_zh_CN <string> Maintenance message for the published resource in Chinese (Simplified).
-MaintenanceMessage_ko_KR <string> Maintenance message for the published resource in Korean.
-ReplicateMaintenance <bool> Enable or disable the 'Replicate Maintenance' option.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ---------- Set-RASPubDefaultSettings -SiteId 2 -CreateShortcutOnDesktop $true Enables the 'Create shortcut on Desktop' option in default settings of the specified site.