Sep 26 2019 02:57 PM
I am configuring remote apps for Azure windows VDI with the New-RdsRemoteApp command how can I create a mapped drive reference and show a folder icon.
Sep 27 2019 12:21 PM
Solution
I created a Shortcut to the mapped drive and then published the shortcut? Maybe this will help you?
New-RdsRemoteApp Tenant HostPool Applications "Map Drive Name" -Filepath "patch to the shortcut" -IconPath C:\Windows\system32\shell32.dll -IconIndex 3
Sep 27 2019 12:30 PM
thanks, I was trying something like this but it didn't work and would only let me create one of them.
New-RdsRemoteApp -TenantName "Windows Virtual Desktop Pooled" -HostPoolName "WindowsVDIHostpooled" -AppGroupname "Basic App group" -Name Explorer -FilePath shell:Appsfolder\Microsoft.Windows.FileExplorer_cw5n1h2txyewy!FileExplorer -IconPath C:\Windows\SystemApps\Microsoft.Windows.FileExplorer_cw5n1h2txyewy\FileExplorer.exe -FriendlyName "Site Data" -CommandLineSetting Allow -RequiredCommandline " \\Path to files"
I will try your suggestion
Sep 28 2019 09:15 AM
@Tecn0 thank you, you have saved the day, your suggestion worked like a charm
Sep 27 2019 12:21 PM
Solution
I created a Shortcut to the mapped drive and then published the shortcut? Maybe this will help you?
New-RdsRemoteApp Tenant HostPool Applications "Map Drive Name" -Filepath "patch to the shortcut" -IconPath C:\Windows\system32\shell32.dll -IconIndex 3