Set-RASPubLocalApp.md
NAME
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).
PARAMETERS
URL (string)
URL.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseWindowsEnabled (bool)
Windows: Whether the application is enabled for the operating system or not.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseWindowsUseIfAvailable (bool)
Windows: Use the following application if available on local device.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseWindowsStartIn (string)
Windows: Application working directory.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseWindowsTarget (string)
Windows: Application target file. (i.e. calc.exe, file.txt, etc.).
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseWindowsParameters (string)
Windows: Application parameters.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseWindowsWinType (WindowType)
Windows: Window Type: 0=Normal, 1=Maximized, 2=Minimized.
Possible values: Normal, Maximized, Minimized
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseMacEnabled (bool)
Mac: Whether the application is enabled for the operating system or not.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseLinuxEnabled (bool)
Linux: Whether the application is enabled for the operating system or not.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseiOSEnabled (bool)
iOS: Whether the application is enabled for the operating system or not.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseAndroidEnabled (bool)
Android: Whether the application is enabled for the operating system or not.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseUserPortalEnabled (bool)
UserPortal: Whether the application is enabled for the operating system or not.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseReplicateLocalAppSettings (bool)
Whether to replicate local application settings or not.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseReplicateShortcutSettings (bool)
Replicate shortcut settings to all sites.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseCreateShortcutOnDesktop (bool)
Create a shortcut on a client's desktop.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseCreateShortcutInStartFolder (bool)
Create a shortcut in the client's Start folder.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseCreateShortcutInStartUpFolder (bool)
Create a shortcut in the client's Auto Start folder.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseStartPath (string)
Specifies the path in the Start folder where the shortcut will be created.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseInheritShortcutDefaultSettings (bool)
Inherit default shortcut settings.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseStartOnLogon (bool)
Start a resource automatically when a user logs on.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseExcludePrelaunch (bool)
Exclude application from prelaunch.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseName (string)
A new name to assign to the published resource.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseIcon (string)
Published resource icon file name. Can be an executable (.exe), a .dll or a .ico file.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseIconIndex (uint)
Icon index
Specifies the index of the icon that will be loaded from the binary specified in the Icon property
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseEnabledMode
(PubResourceEnabledMode) Changes the availability status of the published resource.
Possible values: Disabled, Enabled, Maintenance
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseDescription (string)
Published resource description.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falsePublishToSite (Site[])
An array of sites to which to publish a resource.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falsePublishToSiteIds (uint[])
An array of sites to which to publish a resource.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falsePreferredRoutingEnabled (bool)
Enable or disable Preferred Routing.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseId (uint)
Published resource ID.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? falseInputObject (PubItem)
An object specifying the published resource.
To obtain the object, use the Get-PubItem cmdlet.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? falseSiteId (uint)
Site ID.
Required? false
Position? named
Default value 0
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
OUTPUTS
-none-
EXAMPLES
**---------- EXAMPLE 1 ----------
Set-RASPubLocalApp -Id 1 -Enabled $false
Disables a published application specified by ID. **---------- EXAMPLE 2 ----------
Get-RASPubLocalApp -Id 1 | Set-RASPubLocalApp -Enabled $false
Disables a published application specified by an object obtained from the pipeline output. **---------- EXAMPLE 3 ----------
Set-RASPubLocalApp -Id 56 -URL "mock/example/url"
Modify the URL parameter (application properties) according to passed string.
RELATED LINKS
Last updated