For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-RASAVDHost

SYNOPSIS

The cmdlet returns an object of type Azure Virtual Desktop Host properties.

SYNTAX

Get-RASAVDHost [[-SiteId] <uint>] [-ProviderId <uint>] [<CommonParameters>]
Get-RASAVDHost [-VMId] <string> [[-SiteId] <uint>] -ProviderId <uint> [<CommonParameters>]

DESCRIPTION

To see the complete list of object properties, use the Format-List cmdlet (see examples).

The result set contains only the major properties of a group; it does not include the complete list of settings supported in RAS.

EXAMPLES

Example 1

Get-RASAVDHost -VMID "42311235-09c5-ca15-337d-b9723015edf0" -ProviderID 1 | Format-List

Retrieves information about the AVD Host properties specified by the VMId and ProviderId.

To retrieve the info from a specific site, specify the -SiteId parameter.

The Format-List cmdlet formats the display output to include all available group properties.

Example 2

Retrieves all the AVD Hosts found within the Provider with Id 1.

PARAMETERS

-VMId

The ID of the VM for which to retrieve the information.

-ProviderId

Provider Id from which to retrieve the AVD Host.

-SiteId

Site ID from which to retrieve the AVD Host.

If the parameter is omitted, the Licensing Server site ID will be used.

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

None

OUTPUTS

AVDHost

Last updated