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

Get-RASVDIHost

SYNOPSIS

Retrieves the host VM list from a Provider in real-time.

SYNTAX

Get-RASVDIHost [-ProviderId] <uint> [[-SiteId] <uint>] -Id <string> [-User <string>]
 [-VDITemplateId <uint>] [<CommonParameters>]
Get-RASVDIHost [[-ProviderId] <uint>] [[-SiteId] <uint>] [-User <string>] [-VDITemplateId <uint>]
 [<CommonParameters>]
Get-RASVDIHost [-VDITemplateObj] <Template> [[-SiteId] <uint>] [-User <string>]
 [-VDITemplateId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the list of host VMs from one or multiple Provider servers.

Returns an array of objects of type VDIHost, each containing properties of a host VM.

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

Note: the returned object contains only the major properties of a host VM; it does not include all of the settings supported in RAS.

EXAMPLES

Example 1

Retrieves the list of host VMs from the specified Provider server from the Licensing Server site.

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

The Format-List cmdlet formats the display output to include the complete list of the returned properties.

Example 2

Retrieves the list of host VMs from the specified Provider server from the specified site.

Example 3

Retrieves the complete list of host VMs residing on all available Provider servers in the Licensing Server site.

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

The Format-List cmdlet formats the display output to include the complete list of the returned properties.

Example 4

Retrieves the information about a specified host VM residing on the specified Provider server.

Example 5

Retrieves the information about the VDI hosts created from the specified VDI template.

PARAMETERS

-ProviderId

The ID of a Provider server from which to obtain the VM list.

-SiteId

Site ID from which to retrieve the desktop VM list.

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

-Id

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

-VDITemplateObj

The VDI Template for which to retrieve the desktops of.

Type reference: Template

-VDITemplateId

The ID of the VDI Template for which to retrieve the desktops of.

-User

The username assigned to Desktop.

If empty square brackets ([]) are passed, the desktop list will be filtered with those with an assigned user.

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

VDIHost

Last updated