You plan to sign users out of a specific Azure Virtual Desktop session host from a PowerShell script before maintenance. Which PowerShell module must the script load?
Choose an answer
Tap an option to check your answer.
Correct answer: Az.DesktopVirtualization.
Why this is the answer
The Az.DesktopVirtualization PowerShell module is required to manage Azure Virtual Desktop (AVD) resources, including signing out users from session hosts. This module contains cmdlets specifically designed for AVD operations. Az.Automation is for managing Azure Automation accounts and runbooks, not AVD sessions directly. Az.Compute is for managing Azure virtual machines and related compute resources, but it doesn't provide AVD-specific session management. Az.Maintenance is used for managing maintenance configurations for Azure resources, not for user session control within AVD.
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