# Get-RASPubRDSDesktop

### NAME

Get-RASPubRDSDesktop\
\\

### SYNOPSIS

Retrieves information about one or multiple published desktops.\
\\

### SYNTAX

Get-RASPubRDSDesktop \[\[-[Id](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASPubRDSDesktop.html#Id)] *\<uint>*] \[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASPubRDSDesktop.html#SiteId) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASPubRDSDesktop.html#CommonParameters)*>*]\
\
Get-RASPubRDSDesktop \[\[-[Name](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASPubRDSDesktop.html#Name)] *\<string>*] \[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASPubRDSDesktop.html#SiteId) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASPubRDSDesktop.html#CommonParameters)*>*]\
\\

### DESCRIPTION

Retrieves information about one or multiple published desktops.\
\
The cmdlet returns an array of objects of type PubRDSDesktop.\
\
To see the complete list of object properties, use the Format-List cmdlet (see examples).\
\\

### PARAMETERS

\
-**Name \<string>**\
Published resource name.\
\\

```
        Required?                    false
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        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 . 
```

\\

### INPUTS

-none-

### OUTPUTS

[PubRDSDesktop](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PubRDSDesktop.html)

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
Get-RASPubRDSDesktop | Format-List\
\
Retrieves information about all available published desktops.\
\
The Format-List cmdlet formats the display output to include all available desktop properties.\
\&#xNAN;**---------- EXAMPLE 2 ----------**\
\
Get-RASPubRDSDesktop "My RDS Desktop"\
\
Retrieves the information about a desktop specified by name.\
\&#xNAN;**---------- EXAMPLE 3 ----------**\
\
Get-RASPubRDSDesktop -Id 11\
\
Retrieves the information about a desktop specified by ID.
