# Data Object - VirtualMachineConsolePreferences(vim.vm.ConsolePreferences)

Property of
  VirtualMachineConfigInfo, VirtualMachineConfigSpec
Extends
  DynamicData
Since
  2.0

## Data Object Description

Preferences for the legacy console application that affect the way it behaves during power operations on the virtual machine.

Properties

Name | Type | Description
--- | --- | ---
closeOnPowerOffOrSuspend* | xsd:boolean | Close the console application when the virtual machine is powered off or suspended.
enterFullScreenOnPowerOn* | xsd:boolean | Enter full screen mode when this virtual machine is powered on.
powerOnWhenOpened* | xsd:boolean | Power on the virtual machine when it is opened in the console.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualMachineConsolePreferences"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="powerOnWhenOpened" type="xsd:boolean" minOccurs="0"/> <element name="enterFullScreenOnPowerOn" type="xsd:boolean" minOccurs="0"/> <element name="closeOnPowerOffOrSuspend" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>