Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-RDFileTypeAssociation

Last Updated: 3/8/2017

SYNOPSIS

Displays the file extensions associated with a RemoteApp program.

SYNTAX

Get-RDFileTypeAssociation [[-CollectionName] <String>] [-AppAlias <String>] [-AppDisplayName <String[]>]
 [-FileExtension <String>] [-ConnectionBroker <String>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

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

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

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

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

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

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.

PARAMETERS

-AppAlias

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

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AppDisplayName

Specifies the name that users see for the RemoteApp program.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CollectionName

Specifies the name of the collection.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ConnectionBroker

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.

Type: String
Parameter Sets: (All)
Aliases: 

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

-FileExtension

Specifies the file name extension whose associated RemoteApp program appears.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

Microsoft.RemoteDesktopServices.Management.FileTypeAssociation

NOTES

Set-RDFileTypeAssociation

© 2017 Microsoft