QuestionQ97

Monitor and maintain an Azure Virtual Desktop infrastructure

You have an Azure Virtual Desktop deployment.

You deploy and configure Azure Virtual Desktop in a secondary location. You plan to conduct a test failover to that secondary location, but you find existing user sessions in the primary location.

You need to sign users out from the session hosts in the primary location.

Which PowerShell cmdlet should you run?

  • A Invoke-RdsUserSessionLogoff
  • B Remove-AzWvdUserSession
  • C Invoke-RestMethod
  • D Remove-Alias
Explanation

Remove-AzWvdUserSession removes a user session from a specified Azure Virtual Desktop session host, thereby signing the user out. It is the current cmdlet in the Az.DesktopVirtualization module for this operation.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!