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