A RemoteApp group publishes App1; each month a new MSI-based version with a different executable name is installed on each session host. To automate publishing the new version while keeping the same user experience in the Windows Desktop client, which two PowerShell cmdlets should you run?
Choose an answer
Tap an option to check your answer.
Correct answer: Remove-AzWvdApplication, New-AzWvdApplication.
Why this is the answer
When an application's executable name changes, Azure Virtual Desktop (AVD) treats it as a new application. To update the published application while maintaining a consistent user experience (i.e., the same icon and entry in the Windows Desktop client), you must first remove the old application entry and then add the new one. Remove-AzWvdApplication deletes the existing application from the RemoteApp group. New-AzWvdApplication then publishes the new version with its updated executable name. This two-step process ensures the client sees a seamless update to the existing application entry. New-AzWvdApplicationGroup creates a new application group, which is not needed here as you are updating an existing one. New-AzWvdMsixPackage and Remove-AzWvdMsixPackage are for managing MSIX app attach packages, which is a different application delivery method than the MSI-based application described. New-AzRoleAssignment is for managing access control, not application publishing.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed