Get-SCVMConsoleInformation
Displays VMM console information about a virtual machine.
Syntax
Default (Default)
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.
Parameter properties
| Type: | VM |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-VMMServer
Specifies a VMM server object.
Parameter properties
| Type: | ServerConnection |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.