Set-PubDefaultSettings

NAME

Set-PubDefaultSettings

SYNOPSIS

Modifies default settings used to configure published resources.

SYNTAX

Set-PubDefaultSettings [-ColorDepth <ColorDepth> {Colors8Bit | Colors15Bit | Colors16Bit | Colors24Bit | Colors32Bit | ClientSpecified}] [-ConCurrentLicenses <uint>] [-CreateShortcutInStartFolder <bool>] [-CreateShortcutInStartUpFolder <bool>] [-CreateShortcutOnDesktop <bool>] [-DisableSessionSharing <bool>] [-LicenseLimitNotify <LimitNotify> {WarnUserAndNoStart | WarnUserAndStart | NotifyAdminAndStart | NotifyUserAdminAndStart | NotifyUserAdminAndNoStart}] [-OneInstancePerUser <bool>] [-ReplicateDisplaySettings <bool>] [-ReplicateLicenseSettings <bool>] [-ReplicateShortcutSettings <bool>] [-SiteId <uint>] [-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-PubDefaultSettings cmdlet.

PARAMETERS


-SiteId <uint>
Site ID.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-CreateShortcutOnDesktop <bool>
Enables or disables the 'Create shortcut on Desktop' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ReplicateShortcutSettings <bool>
Enables or disables the 'Replicate settings' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-CreateShortcutInStartFolder <bool>
Enables or disables the 'Create shortcut in Start folder' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-CreateShortcutInStartUpFolder <bool>
Enables or disables 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>
Enables or disables 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>
Enables or disables 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

-WaitForPrinters <bool>
Enables or disables 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

-ReplicateLicenseSettings <bool>
Enables or disables 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>
Enables or disables the 'Disable session sharing' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-OneInstancePerUser <bool>
Enables or disables 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>
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

-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

        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-PubDefaultSettings -SiteId 2 -CreateShortcutOnDesktop $true

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

RELATED LINKS