Skip to content

Get-VMClass

Synopsis

Retrieves information on a Virtual Machine class

Syntax

Get-VMClass [[-vmClass] <String>] [[-namespace] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Get-VMClass cmdlet retrieves information on a Virtual Machine class.

Examples

Example 1

Get-VMClass 

This example retrieves all Virtual Machine classes

Example 2

Get-VMClass -vmClass guaranteed-small 

This example retrieves information on the Virtual Machine Class guaranteed-small

Example 3

Get-VMClass -namespace sfo-w01-tkc01 

This example retrieves Virtual Machine Classes assigned to the namespace sfo-w01-tkc01.

Parameters

-vmClass

The name of the Virtual Machine class.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-namespace

The name of the Namespace.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Progress Action

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.