< Back
Get-RDFileTypeAssociation
Post
NAME Get-RDFileTypeAssociation
SYNOPSIS
Displays the file extensions associated with a RemoteApp program.
SYNTAX
Get-RDFileTypeAssociation [[-CollectionName] <String>] [-AppAlias <String>] [-AppDisplayName <String[]>] [-ConnectionBroker <String>]
[-FileExtension <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.
PARAMETERS
-AppAlias [<String>]
Specifies the alias for the RemoteApp program. The default alias is the program's filename without the extension.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-AppDisplayName [<String[]>]
Specifies the name that users see for the RemoteApp program.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-CollectionName [<String>]
Specifies the name of the collection.
Required? false
Position? 1
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? 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.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-FileExtension [<String>]
Specifies the file name extension whose associated RemoteApp program appears.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.RemoteDesktopServices.Management.FileTypeAssociation
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=294214
Set-RDFileTypeAssociation
SYNOPSIS
Displays the file extensions associated with a RemoteApp program.
SYNTAX
Get-RDFileTypeAssociation [[-CollectionName] <String>] [-AppAlias <String>] [-AppDisplayName <String[]>] [-ConnectionBroker <String>]
[-FileExtension <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.
PARAMETERS
-AppAlias [<String>]
Specifies the alias for the RemoteApp program. The default alias is the program's filename without the extension.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-AppDisplayName [<String[]>]
Specifies the name that users see for the RemoteApp program.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-CollectionName [<String>]
Specifies the name of the collection.
Required? false
Position? 1
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? 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.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-FileExtension [<String>]
Specifies the file name extension whose associated RemoteApp program appears.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.RemoteDesktopServices.Management.FileTypeAssociation
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=294214
Set-RDFileTypeAssociation