Get-RASAVDHostStatus
SYNOPSIS
Retrieves the list of, or a specific, Azure Virtual Desktop Host status.
SYNTAX
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>]DESCRIPTION
Retrieves the list of, or a specific, Azure Virtual Desktop Host status.
EXAMPLES
Example 1
Get-RASAVDHostStatus | Format-ListRetrieves the list of AVD Host statuses
Example 2
Retrieves the list of AVD Host statuses from the specified Provider server
Example 3
Retrieves the list of AVD Host statuses from the specified Provider server from the specified site.
Example 4
Retrieves the specified AVD Host status from the specified Provider server from the specified site.
PARAMETERS
-ProviderId
The ID of a Provider server from which to obtain the AVD Host list.
-SiteId
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
The ID of the AVD Host. To obtain the ID, use the Get-RASAVDHost cmdlet.
-InputObject
An object of type AVDHost representing a AVD Host for which to retrieve the information.
To obtain the object, use the Get-RASAVDHost cmdlet.
Type reference: AVDHost
-User
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
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
Type reference: StatusLevel
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
AVDHost
OUTPUTS
AVDHostSysInfo
RELATED LINKS
Last updated