Freigeben über


VmState

Mirrors the EnabledState property of the Msvm_ComputerSystem class. The following table summarizes the attributes of the VmState property.

Attribute Value
Data type DWORD
Access Read-only
Status TBD
Structure CLUSPROP_DWORD
Minimum 0
Maximum 65536
Default 0

Remarks

The following table summarizes the values for VmState.

Name Value Description
Unknown
0 (Default)
The state of the VM could not be determined.
Enabled
2
The VM is running.
Disabled
3
The VM is turned off.
Paused
32768
The VM is paused.
Suspended
32769
The VM is in a saved state.
Starting
32770
The VM is starting.
Saving
32773
The VM is saving its state.
Stopping
32774
The VM is turning off.
Pausing
32776
The VM is pausing.
Resuming
32777
The VM is resuming from a paused state.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise

See also

Virtual Machine Private Properties

CLUSPROP_DWORD

Msvm_ComputerSystem