Get-SCVMConsoleInformation
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 Virtual Machine Manager (VMM) console information about a virtual machine.
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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
Example Example 1: Get VMM console information for a specified virtual machine.
The first command gets the virtual machine object named VM01, and then stores the object in the $VM variable.
The second command displays the VMM console information about VM01.
PS C:\> $VM = Get-SCVirtualMachine -Name "VM01"
PS C:\> Get-SCVMConsoleInformation -VM $VM