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
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

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