Get-SCVMConsoleInformation
Applies To: System Center 2012 - Virtual Machine Manager
Get-SCVMConsoleInformation
Displays VMM console information about a virtual machine.
Syntax
Parameter Set: Default
Get-SCVMConsoleInformation [-VM] <VM> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCVMConsoleInformation cmdlet displays System Center Virtual Machine Manager (VMM) console information about a virtual machine.
For more information about Get-SCConsoleInformation, type: "Get-Help Get-SCVMConsoleInformation -online".
Parameters
-VM<VM>
Specifies a virtual machine object.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
1: Get VMM console information for a specified virtual machine.
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.
PS C:\> $VM = Get-SCVirtualMachine -Name "VM01"
PS C:\> Get-SCVMConsoleInformation -VM $VM