Auf Englisch lesen

Freigeben über


Get-RDFileTypeAssociation

Get-RDFileTypeAssociation

Displays the file extensions associated with a RemoteApp program.

Syntax

Parameter Set: Default
Get-RDFileTypeAssociation [[-CollectionName] <String> ] [-AppAlias <String> ] [-AppDisplayName <String[]> ] [-ConnectionBroker <String> ] [-FileExtension <String> ] [ <CommonParameters>]

Detaillierte Beschreibung

The Get-RDFileTypeAssocation cmdlet displays the file extensions that are associated with a RemoteApp program in the Remote Desktop deployment.

Parameter

-AppAlias<String>

Specifies the alias for the RemoteApp program. The default alias is the program's filename without the extension.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-AppDisplayName<String[]>

Specifies the name that users see for the RemoteApp program.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-CollectionName<String>

Specifies the name of the collection.

Aliasse

Keiner

Erforderlich?

false

Position?

1

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-ConnectionBroker<String>

Specifies the Remote Desktop Connection Broker (RD  Connection Broker) server for this Remote Desktop deployment. Remote users connect to this server to obtain views of available RemoteApp programs, session-based desktops, and virtual desktops. If this parameter does not appear, the default value is the fully qualified domain name (FQDN) of the local host.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-FileExtension<String>

Specifies the file name extension whose associated RemoteApp program appears.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.RemoteDesktopServices.Management.FileTypeAssociation

Beispiele

Example 1: Get a file type association by using an alias and a file name extension

This command gets a file type association by using the file name extension .html and the RemoteApp program whose alias is iexplore.

PS C:\> Get-RDFileTypeAssociation -AppAlias "iexplore" -FileExtension ".html"

Example 2: Get a file type association by using a collection name and an application display name

This command gets the file type association by using the collection named Session Collection and the names of all RemoteApp programs whose names begin with the word Note.

PS C:\> Get-RDFileTypeAssociation -CollectionName "Session Collection" -AppDisplayName "Note*"

Verwandte Themen

Set-RDFileTypeAssociation