# Get-RASPubRDSAppServerAttr

## NAME

Get-RASPubRDSAppServerAttr

## SYNOPSIS

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

## SYNTAX

**Get-RASPubRDSAppServerAttr** \[-[Id](#Id)] _\<uint>_ \[-[ServerId](#ServerId) _\<uint>_] \[-[SiteId](#SiteId) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Get-RASPubRDSAppServerAttr** \[-[InputObject](#InputObject)] _<_[_PubItem_](../classes-and-enumerations/pubitem)_>_ \[-[ServerId](#ServerId) _\<uint>_] \[-[SiteId](#SiteId) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

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

## PARAMETERS

-**ServerId \<uint>**\
RDS server ID for which the attributes will be acquired.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Id \<uint>**\
Published resource ID.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**InputObject <**[**PubItem**](../classes-and-enumerations/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?  false
```

-**SiteId \<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

[PubItem](../classes-and-enumerations/pubitem)

## OUTPUTS

[PubAppAttr](../classes-and-enumerations/pubappattr)

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Get-RASPubRDSAppServerAttr -Id 2

Retrieves per server application attribute settings by application Id.\
&#xNAN;**---------- EXAMPLE 2 ----------**

Get-RASPubRDSAppServerAttr -InputObject $RDSApp -ServerId 15"

Retrieves a per server application attribute settings by input object and ServerId.

## RELATED LINKS

* [Add-RASPubRDSAppServerAttr](add-raspubrdsappserverattr)
* [Set-RASPubRDSAppServerAttr](set-raspubrdsappserverattr)
* [Remove-RASPubRDSAppServerAttr](remove-raspubrdsappserverattr)
* [Get-RASRDSHost](get-rasrdshost)
* [Get-RASPubRDSApp](get-raspubrdsapp)
