New-RASPubLocalApp

NAME

New-RASPubLocalApp

SYNOPSIS

Creates a published application to a Site.

SYNTAX

New-RASPubLocalApp [Name]** (string) [AndroidEnabled (bool)] [Description (string)] [-EnabledMode {Disabled | Enabled | Maintenance}] [Icon (string)] [IconIndex (uint)] [iOSEnabled (bool)] [LinuxEnabled (bool)] [MacEnabled (bool)] [-ParentFolder (PubFolder)] [ParentId (uint)] [PreviousId (uint)] [-PreviousItem (PubItem)] [-PublishToSite (Site[])] [-PublishToSiteIds (uint[])] [ReplicateLocalAppSettings (bool)] [SiteId (uint)] [URL (string)] [UserPortalEnabled (bool)] [WindowsEnabled (bool)] [WindowsParameters (string)] [WindowsStartIn (string)] [WindowsTarget (string)] [WindowsUseIfAvailable (bool)] [-WindowsWinType {Normal | Maximized | Minimized}] [(CommonParameters)]

DESCRIPTION

Creates a published application to a Site.

You must specify the -Name. All other parameters are optional.

PARAMETERS

URL (string)

URL.

WindowsEnabled (bool)

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

WindowsUseIfAvailable (bool)

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

WindowsStartIn (string)

Windows: Application working directory.

WindowsTarget (string)

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

WindowsParameters (string)

Windows: Application parameters.

WindowsWinType (WindowType)

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

Possible values: Normal, Maximized, Minimized

MacEnabled (bool)

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

LinuxEnabled (bool)

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

iOSEnabled (bool)

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

AndroidEnabled (bool)

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

UserPortalEnabled (bool)

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

ReplicateLocalAppSettings (bool)

Whether to replicate local application settings or not.

Name (string)

Published resource name.

ParentFolder (PubFolder)

Parent publishing folder.

ParentId (uint)

Parent publishing folder ID.

PreviousItem (PubItem)

Previous published item.

PreviousId (uint)

Previous published ID.

Icon (string)

An icon to use for a publishing resource.

This can be an executable (.exe), a .dll or a .ico file.

IconIndex (uint)

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

EnabledMode

(PubResourceEnabledMode) Changes the availability status of the published resource.

Possible values: Disabled, Enabled, Maintenance

Description (string)

Published resource description.

PublishToSite (Site[])

An array of sites to which to publish a resource.

PublishToSiteIds (uint[])

An array of Sites IDs to which to publish a resource.

SiteId (uint)

Site ID in which to publish the specified Item.

If the parameter is omitted, the site ID of the Licensing Server will be used.

(CommonParameters)

INPUTS

PubFolder

OUTPUTS

PubLocalApp

EXAMPLES

---------- EXAMPLE 1 ----------

New-RASPubLocalApp -Name "My Local App"

Creates a published application locally. ---------- EXAMPLE 2 ----------

New-RASPubLocalApp -Name "My Local App" -WindowsEnabled 1

Creates a published application locally and specifies the application is enabled for Windows.

Last updated