Set-RASPubRDSAppServerAttr
SYNOPSIS
Modify RDS application attributes on specific server from where the application is hosted.
SYNTAX
Set-RASPubRDSAppServerAttr [-Id] <uint> -ServerId <uint> [-Parameters <string>] [-SiteId <uint>]
[-StartIn <string>] [-Target <string>] [<CommonParameters>]Set-RASPubRDSAppServerAttr [-InputObject] <PubItem> -ServerId <uint> [-Parameters <string>]
[-SiteId <uint>] [-StartIn <string>] [-Target <string>] [<CommonParameters>]DESCRIPTION
Modify RDS application attributes on a specific server from where the application is hosted.
EXAMPLES
Example 1
Set-RASPubRDSAppServerAtt -Id 2 -ServerID 15 -Target cmd.exe -StartIn C:\Windows\ -Parameters "-param 1 -param 2"Updates an existing per server application attribute settings by application Id.
Example 2
Updates an existing per server application attribute settings by input object.
Example 3
Updates an existing per server application attribute settings by input object from pipeline.
Example 4
Modifies the package and packaged app details of the published application specified by ID.
PARAMETERS
-ServerId
RDS server ID on which the attributes will be updated.
-Target
Application target file. (i.e. calc.exe, file.txt, etc.)
-StartIn
Application working directory.
-Parameters
Application parameters.
-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
PubRDSApp
RELATED LINKS
Last updated