Represents a hard drive inside of a virtual machine. This hard disk drive can be either a pass-through device (if a physical hard disk was attached to the virtual machine) or a synthetic device that is populated with virtual hard disk media. Because virtual and physical hard disks can be added and removed from the virtual machine, there are two resource pools associated with this class, one for pass-through hard disks and the other for virtual hard disks. Hard disks can only be added or removed if the virtual machine is offline.
'The number of the physical drives on the hosting computer system.'
DriveNumber property is in 1 class (Msvm_DiskDrive) of ROOT\virtualization\v2\ms_409 and in 2 namespaces
Msvm_DiskDrive Qualifiers
Name
Value
ToInstance
ToSubclass
Overridable
Amended
Local
AMENDMENT
True
✗
✗
✓
✗
✓
Description
'Represents a hard drive inside of a virtual machine. This hard disk drive can be either a pass-through device (if a physical hard disk was attached to the virtual machine) or a synthetic device that is populated with virtual hard disk media. Because virtual and physical hard disks can be added and removed from the virtual machine, there are two resource pools associated with this class, one for pass-through hard disks and the other for virtual hard disks. Hard disks can only be added or removed if the virtual machine is offline.'