An Azure Virtual Desktop host pool named hp-eng exists in the resource group rg-avd and already has session hosts. The existing host pool and its session hosts must not be deleted or recreated.
You plan to deploy an ARM template that creates new virtual machines and adds them as session hosts to hp-eng. The template has a parameter for the host pool registration token, which is used to authorize the new virtual machines to join hp-eng. No registration token currently exists for hp-eng.
You will use Azure PowerShell to prepare the deployment.
Which two actions should you perform? Each correct answer presents part of the solution. Select two.
A session host can join a host pool only with a valid registration token. Because no token exists for hp-eng, you create one by running New-AzWvdRegistrationInfo against the existing host pool with an expiration time, then supply the token value to the template parameter that the add-session-hosts deployment uses. The Get cmdlets retrieve existing registration data, and registering an application group serves a different purpose.