For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set-RASPubLocalApp

SYNOPSIS

Modifies properties of a published application.

SYNTAX

Set-RASPubLocalApp [-Id] <uint> [-AndroidEnabled <bool>] [-CreateShortcutInStartFolder <bool>]
 [-CreateShortcutInStartUpFolder <bool>] [-CreateShortcutOnDesktop <bool>] [-Description <string>]
 [-EnabledMode {Disabled | Enabled | Maintenance}] [-ExcludePrelaunch <bool>] [-Icon <string>]
 [-IconIndex <uint>] [-InheritShortcutDefaultSettings <bool>] [-iOSEnabled <bool>]
 [-LinuxEnabled <bool>] [-MacEnabled <bool>] [-Name <string>] [-PreferredRoutingEnabled <bool>]
 [-PublishToSite <Site[]>] [-PublishToSiteIds <uint[]>] [-ReplicateLocalAppSettings <bool>]
 [-ReplicateShortcutSettings <bool>] [-SiteId <uint>] [-StartOnLogon <bool>] [-StartPath <string>]
 [-URL <string>] [-UserPortalEnabled <bool>] [-WindowsEnabled <bool>] [-WindowsParameters <string>]
 [-WindowsStartIn <string>] [-WindowsTarget <string>] [-WindowsUseIfAvailable <bool>]
 [-WindowsWinType {Normal | Maximized | Minimized}] [<CommonParameters>]
Set-RASPubLocalApp [-InputObject] <PubItem> [-AndroidEnabled <bool>]
 [-CreateShortcutInStartFolder <bool>] [-CreateShortcutInStartUpFolder <bool>]
 [-CreateShortcutOnDesktop <bool>] [-Description <string>]
 [-EnabledMode {Disabled | Enabled | Maintenance}] [-ExcludePrelaunch <bool>] [-Icon <string>]
 [-IconIndex <uint>] [-InheritShortcutDefaultSettings <bool>] [-iOSEnabled <bool>]
 [-LinuxEnabled <bool>] [-MacEnabled <bool>] [-Name <string>] [-PreferredRoutingEnabled <bool>]
 [-PublishToSite <Site[]>] [-PublishToSiteIds <uint[]>] [-ReplicateLocalAppSettings <bool>]
 [-ReplicateShortcutSettings <bool>] [-SiteId <uint>] [-StartOnLogon <bool>] [-StartPath <string>]
 [-URL <string>] [-UserPortalEnabled <bool>] [-WindowsEnabled <bool>] [-WindowsParameters <string>]
 [-WindowsStartIn <string>] [-WindowsTarget <string>] [-WindowsUseIfAvailable <bool>]
 [-WindowsWinType {Normal | Maximized | Minimized}] [<CommonParameters>]

DESCRIPTION

Modifies properties of a published application.

Use only the parameters (application properties) that you want to modify.

To set filtering options, use the Pub Filtering cmdlets (e.g. Set-RASPubItemClientFilter).

EXAMPLES

Example 1

Disables a published application specified by ID.

Example 2

Disables a published application specified by an object obtained from the pipeline output.

Example 3

Modify the URL parameter (application properties) according to passed string.

PARAMETERS

-URL

URL.

-WindowsEnabled

Windows: Whether the application is enabled for the operating system or not.

-WindowsUseIfAvailable

Windows: Use the following application if available on local device.

-WindowsStartIn

Windows: Application working directory.

-WindowsTarget

Windows: Application target file. (i.e. calc.exe, file.txt, etc.).

-WindowsParameters

Windows: Application parameters.

-WindowsWinType

Windows: Window Type: 0=Normal, 1=Maximized, 2=Minimized.

Possible values: Normal, Maximized, Minimized

Type reference: WindowType

-MacEnabled

Mac: Whether the application is enabled for the operating system or not.

-LinuxEnabled

Linux: Whether the application is enabled for the operating system or not.

-iOSEnabled

iOS: Whether the application is enabled for the operating system or not.

-AndroidEnabled

Android: Whether the application is enabled for the operating system or not.

-UserPortalEnabled

UserPortal: Whether the application is enabled for the operating system or not.

-ReplicateLocalAppSettings

Whether to replicate local application settings or not.

-ReplicateShortcutSettings

Replicate shortcut settings to all sites.

-CreateShortcutOnDesktop

Create a shortcut on a client's desktop.

-CreateShortcutInStartFolder

Create a shortcut in the client's Start folder.

-CreateShortcutInStartUpFolder

Create a shortcut in the client's Auto Start folder.

-StartPath

Specifies the path in the Start folder where the shortcut will be created.

-InheritShortcutDefaultSettings

Inherit default shortcut settings.

-StartOnLogon

Start a resource automatically when a user logs on.

-ExcludePrelaunch

Exclude application from prelaunch.

-PreferredRoutingEnabled

Enable or disable Preferred Routing.

-Name

A new name to assign to the published resource.

-Icon

Published resource icon file name. Can be an executable (.exe), a .dll or a .ico file.

-IconIndex

Icon index

Specifies the index of the icon that will be loaded from the binary specified in the Icon property

-EnabledMode

Changes the availability status of the published resource.

Possible values: Disabled, Enabled, Maintenance

Type reference: PubResourceEnabledMode

-Description

Published resource description.

-PublishToSite

An array of sites to which to publish a resource.

Type reference: Site[]

-PublishToSiteIds

An array of sites to which to publish a resource.

-Id

Published resource ID.

-InputObject

An object specifying the published resource.

To obtain the object, use the Get-PubItem cmdlet.

Type reference: PubItem

-SiteId

Site ID.

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

PubItem

OUTPUTS

None

Last updated