Get-RASAVDHostStatus
Retrieves the list of, or a specific, Azure Virtual Desktop Host status.
Get-RASAVDHostStatus [-ProviderId] <uint> [[-SiteId] <uint>] -HostId <string> [-StatusLevel {Level1 | Level2 | Level3}] [-User <string>] [<CommonParameters>]
Get-RASAVDHostStatus [-InputObject] <AVDHost> [-ProviderId] <uint> [[-SiteId] <uint>] [-StatusLevel {Level1 | Level2 | Level3}] [-User <string>] [<CommonParameters>]
Get-RASAVDHostStatus [[-ProviderId] <uint>] [[-SiteId] <uint>] [-StatusLevel {Level1 | Level2 | Level3}] [-User <string>] [<CommonParameters>]
Retrieves the list of, or a specific, Azure Virtual Desktop Host status.
-ProviderId <uint> The ID of a Provider server from which to obtain the AVD Host list.
-SiteId <uint> Site ID from which to retrieve the AVD Host list.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-HostId <string> The ID of the AVD Host. To obtain the ID, use the Get-RASAVDHost cmdlet.
-InputObject <AVDHost> An object of type AVDHost representing a AVD Host for which to retrieve the information.
To obtain the object, use the Get-RASAVDHost cmdlet.
-User <string> The username assigned to AVD Host.
If empty square brackets ([]) are passed, the AVD Host list will be filtered with those with an assigned user.
-StatusLevel <StatusLevel> Specifies the level of detail that should be returned.
Acceptable values: Level1 (AVD Host status information only), Level2 (AVD Host status and Host VM info), Level3 (AVD Host status, Host VMs, Applications).
Possible values: Level1, Level2, Level3
<CommonParameters>
---------- EXAMPLE 1 ----------
Get-RASAVDHostStatus | Format-List
Retrieves the list of AVD Host statuses ---------- EXAMPLE 2 ----------
Get-RASAVDHostStatus -ProviderId 1
Retrieves the list of AVD Host statuses from the specified Provider server ---------- EXAMPLE 3 ----------
Get-RASAVDHostStatus -ProviderId 1 -SiteId 1
Retrieves the list of AVD Host statuses from the specified Provider server from the specified site. ---------- EXAMPLE 4 ----------
Get-RASAVDHostStatus -ProviderId 1 -SiteId 1 -HostId "1" | Format-List
Retrieves the specified AVD Host status from the specified Provider server from the specified site.