編輯

共用方式為


Get-RDRemoteApp

Gets RemoteApp programs in a Remote Desktop deployment.

Syntax

Get-RDRemoteApp
   [[-CollectionName] <String>]
   [[-Alias] <String>]
   [-DisplayName <String[]>]
   [-ConnectionBroker <String>]
   [<CommonParameters>]

Description

The Get-RDRemoteApp cmdlet gets Windows Server 2012 RemoteApp programs in a Remote Desktop deployment. You can specify a collection name, an alias, or one or more display names.

RemoteApp allows Remote Desktop Services (RDS) to run a program remotely that appears as if it runs locally on a client computer. A RemoteApp program runs in its own resizable window and has its own entry on the taskbar.

Examples

Example 1: Get RemoteApp programs for a collection

PS C:\> Get-RDRemoteApp -CollectionName "Session Collection"

This command gets RemoteApp programs for the collection named Session Collection, as specified by the CollectionName parameter.

Example 2: Get RemoteApp programs by using a display name

PS C:\> Get-RDRemoteApp -DisplayName Note*

This command gets RemoteApp programs that begin with the string Note.

Parameters

-Alias

Specifies an alias for a RemoteApp program.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-CollectionName

Specifies the name of a personal virtual desktop collection or session collection.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ConnectionBroker

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

Specifies an array of names to display to users for RemoteApp programs. You can use a wildcard character.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Outputs

Microsoft.RemoteDesktopServices.Management.RemoteApp