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.
EXAMPLES
Example 1
Creates a published application locally.
Example 2
Creates a published application locally and specifies the application is enabled for Windows.
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.
-Name
Published resource name.
-ParentFolder
Parent publishing folder.
Type reference: PubFolder
-ParentId
Parent publishing folder ID.
-PreviousItem
Previous published item.
Type reference: PubItem
-PreviousId
Previous published ID.
-Icon
An icon to use for a publishing resource.
This can be an executable (.exe), a .dll or a .ico file.
-IconIndex
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 IDs to which to publish a resource.
-SiteId
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
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
PubFolder
OUTPUTS
PubLocalApp
RELATED LINKS
Last updated