CmdID / PowerShell / Cmdlets / Set
Set-RDFileTypeAssociation
Changes the file type association of a RemoteApp program in a Remote Desktop deployment. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-AppAliasSpecifies the alias for the RemoteApp program.-CollectionNameSpecifies the name of the session or virtual desktop collection.-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for this Remote Desktop deployment.-FileExtensionSpecifies the file name extension of the file type whose association you change.-IconIndexSpecifies the index in the icon file for the RemoteApp program icon.-IconPathSpecifies the path to a file containing the icon to display for the RemoteApp program identified by the Alias parameter.-IsPublishedIndicates whether users can see the file type association.-VirtualDesktopName, -VMNameSpecifies the name of the virtual desktop where the icon file whose name is in the IconPath parameter appears.