Edit

Share via


Get-RDAvailableApp

Gets a list of publishable applications from a collection.

Syntax

Session (Default)

Get-RDAvailableApp
    [-CollectionName] <String>
    [-ConnectionBroker <String>]
    [<CommonParameters>]

VirtualDesktop

Get-RDAvailableApp
    [-CollectionName] <String>
    -VirtualDesktopName <String>
    [-ConnectionBroker <String>]
    [<CommonParameters>]

Description

The Get-RDAvailableApp cmdlet gets a list of publishable applications from a collection specified in the CollectionName parameter.

Examples

Example 1: Get the list of applications available to publish for a session collection

PS C:\> Get-RDAvailableApp -CollectionName "Session Collection" -ConnectionBroker "Rdcb.Contoso.com"

This command retrieves a list of the applications available from the session collection named Session Collection, on the RD Connection Broker server named Rdcb.Contoso.com.

Example 2: Get the list of applications available to publish for a virtual desktop collection

PS C:\> Get-RDAvailableApp -CollectionName "Virtual Desktop Pool" -ConnectionBroker "Rdcb.Contoso.com" -VirtualDesktopName "RDS-WKS-A26"

This command retrieves a list of the applications available from the session collection named Virtual Desk Pool, on the RD Connection Broker server named Rdcb.Contoso.com. The cmdlet uses the virtual desktop named RDS-WKS-A26 as the source of a list of applications.

Parameters

-CollectionName

Specifies the name of a personal virtual desktop collection.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ConnectionBroker

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a remote desktop deployment. If you do not supply a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VirtualDesktopName

Specifies the name of the virtual desktop. This parameter is required. The virtual desktop identified here must be a member of the of the collection specified by the CollectionName parameter.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:VMName

Parameter sets

VirtualDesktop
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Microsoft.RemoteDesktopServices.Management.StartMenuApp