Get-SCVMConsoleInformation

Displays VMM console information about a virtual machine.

Syntax

Get-SCVMConsoleInformation [-VM] <VM> [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The Get-SCVMConsoleInformation cmdlet displays Virtual Machine Manager (VMM) console information about a virtual machine.

Examples

Example 1: Get VMM console information for a specified virtual machine

PS C:\> $VM = Get-SCVirtualMachine -Name "VM01"
PS C:\> Get-SCVMConsoleInformation -VM $VM

The first command gets the virtual machine object named VM01 and stores the object in the $VM variable.

The second command displays the VMM console information about VM01 to the user.

Parameters

-VM

Specifies a virtual machine object.

Type:VM
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False