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

Add-RASPubRDSAppServerAttr

SYNOPSIS

Adds RDS application attributes to specific server from where the application is hosted.

SYNTAX

Add-RASPubRDSAppServerAttr [-Id] <uint> -ServerID <uint> [-Parameters <string>] [-SiteId <uint>]
 [-StartIn <string>] [-Target <string>] [<CommonParameters>]
Add-RASPubRDSAppServerAttr [-InputObject] <PubItem> -ServerID <uint> [-Parameters <string>]
 [-SiteId <uint>] [-StartIn <string>] [-Target <string>] [<CommonParameters>]

DESCRIPTION

Adds RDS application attributes to a specific server from where the application is hosted.

EXAMPLES

Example 1

Add-RASPubRDSAppServerAtt -Id 2 -ServerID 15 -Target cmd.exe -StartIn C:\Windows\ -Parameters "-param 1 -param 2"

Adds an existing per server application attribute settings by application Id.

Example 2

Adds an existing per server application attribute settings by input object.

Example 3

Adds an existing per server application attribute settings by input object from pipeline.

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

None

Last updated