Get-RASPubRDSDesktop

NAME

Get-RASPubRDSDesktop

SYNOPSIS

Retrieves information about one or multiple published desktops.

SYNTAX

Get-RASPubRDSDesktop [[-Id]** (uint)] [SiteId (uint)] [(CommonParameters)]

Get-RASPubRDSDesktop [[-Name]** (string)] [SiteId (uint)] [(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.

Id (uint)

Published resource ID.

SiteId (uint)

Site ID.

(CommonParameters)

INPUTS

-none-

OUTPUTS

PubRDSDesktop

EXAMPLES

---------- 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. ---------- EXAMPLE 2 ----------

Get-RASPubRDSDesktop "My RDS Desktop"

Retrieves the information about a desktop specified by name. ---------- EXAMPLE 3 ----------

Get-RASPubRDSDesktop -Id 11

Retrieves the information about a desktop specified by ID.

Last updated