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

Get-RASVM

SYNOPSIS

Retrieves VM list from a Provider in real-time.

SYNTAX

Get-RASVM [-ProviderId] <uint> [[-Id] <string>] [<CommonParameters>]
Get-RASVM [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves virtual machine information from Provider servers.

It returns an array of objects of type VM, each containing properties of a virtual machine.

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 Virtual Machine; it does not include all of the settings supported in RAS.

EXAMPLES

Example 1

Get-RASVM 2 | Format-List

Retrieves a list of virtual machines from the specified Provider in the Licensing Server site.

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

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

Example 2

Retrieves a list of virtual machines from the specified Provider in the specified site.

Example 3

Retrieves a list of all available virtual machines 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 VM returned properties.

Example 4

Retrieves information about a virtual machine specified by ID from the specified Provider server.

PARAMETERS

-SiteId

The site ID from which to retrieve VM information.

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

-ProviderId

The name of the Provider server.

The name can be either FQDN or IP address, but you have to enter the actual name this server has in the RAS farm.

-Id

The virtual machine UUID (universally unique identifier). UUID is assigned to a virtual machine by the hypervisor.

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

VM

Last updated