What's new in Hyper-V WMI provider
Version 2 of the Hyper-V WMI provider is all new for Windows 8 and Windows Server 2012.
Windows 10, version 1709
New classes:
New properties:
- Msvm_CollectionReferencePointExportJob: ExportedGuestStateFilePaths
- Msvm_EthernetSwitchHardwareOffloadData: DefaultQueueVrssIndependentHostSpreading, DefaultQueueVrssExcludePrimaryProcessor, DefaultQueueVrssQueueSchedulingMode, and DefaultQueueVrssMinQueuePairs
- Msvm_EthernetSwitchHardwareOffloadSettingData: DefaultQueueVrssIndependentHostSpreading, DefaultQueueVrssExcludePrimaryProcessor, DefaultQueueVrssQueueSchedulingMode, DefaultQueueVrssMinQueuePairs,
- Msvm_EthernetSwitchPortOffloadData: VrssVmbusChannelAffinityPolicy, VrssIndependentHostSpreading, VrssExcludePrimaryProcessor, VrssQueueSchedulingModes, and VrssMinQueuePairs
- Msvm_VirtualHardDiskSettingData: DataAlignment, PmemAddressAbstractionType, and IsPmemCompatible
- Msvm_VirtualSystemExportSettingData: DisableDifferentialOfIgnoredStorage, and ExcludedVirtualHardDisks
- Msvm_VirtualSystemManagementServiceSettingData: HypervisorRootSchedulerEnabled
- Msvm_VirtualSystemMigrationSettingData: CPUCappingMagnitude, and CancelIfBlackoutThresholdExceeded
- Msvm_VirtualSystemReferencePointExportJob: ExportedGuestStateFilePath
- Msvm_VirtualSystemSettingData: Architecture, AutomaticSnapshotsEnabled, IsAutomaticSnapshot, GuestStateFile, and GuestStateDataRoot
Windows 10, version 1703
New classes:
- Msvm_AssignableDeviceDismountSettingData
- Msvm_AssignableDeviceService
- Msvm_CollectionReferencePointExportJob
- Msvm_EthernetSwitchHardwareOffloadSettingData
- Msvm_EthernetSwitchPortMigrationQosSettingData
- Msvm_EthernetSwitchPortRdmaSettingData
- Msvm_EthernetSwitchPortTeamMappingSettingData
- Msvm_GpuPartition
- Msvm_GpuPartitionSettingData
- Msvm_NetworkConnectionDiagnosticInformation
- Msvm_NetworkConnectionDiagnosticSettingData
- Msvm_PartitionableGpu
- Msvm_PciExpress
- Msvm_PciExpressSettingData
- Msvm_SecurityElement
- Msvm_SecurityService
- Msvm_SecuritySettingData
- Msvm_StorageSettingData
- Msvm_SummaryInformationBase
- Msvm_SystemComponentSettingData
- Msvm_VirtualSystemReferencePointExportJob
- Msvm_VirtualSystemReferencePointSettingData
Classes removed:
New methods:
- Msvm_CollectionSnapshotService class: ApplySnapshot
- Msvm_VirtualSystemManagementService class: AddSystemComponentSetting, DiagnoseNetworkConnection, ModifySystemComponentSettings, and RemoveSystemComponentSettings
- Msvm_VirtualSystemReferencePointService class: ImportReferencePointMetadata
New properties:
- Msvm_EthernetSwitchHardwareOffloadData: DefaultQueueVmmqQueuePairs, DefaultQueueVmmqEnabled and DefaultQueueVrssEnabled
- Msvm_EthernetSwitchPortOffloadData: VmmqQueuePairs, VmmqEnabled, and VrssEnabled
- Msvm_EthernetSwitchPortOffloadSettingData: VmmqQueuePairs, VmmqEnabled and VrssEnabled
- Msvm_GuestClusterInformation: LastResourceMoveTime
- Msvm_KvpExchangeComponentSettingData: DisableHostKVPItems
- Msvm_MemorySettingData: SgxSize and SgxEnabled
- Msvm_Physical3dGraphicsProcessor: CompatibleForVirtualization and DriverModelVersion
- Msvm_ProcessorSettingData: HwThreadsPerCoreCpuGroupId, HideHypervisorPresent, and ExposeVirtualizationExtensions
- Msvm_SettingsDefineCapabilities: SupportStatement
- Msvm_StorageAllocationSettingData: WriteHardeningMethod
- Msvm_SummaryInformation: Shielded
- Msvm_SyntheticEthernetPortSettingData: AllowPacketDirect
- Msvm_VirtualSystemCollection: LastApplyConsistencyLevel, LastApplyVirtualMachineIds, LastApplyTime, FailedOverReplicationType, ReplicationMode, and ReplicationState
- Msvm_VirtualSystemExportSettingData: ExportForLiveMigration
- Msvm_VirtualSystemMigrationSettingData: AvoidRemovingVHDs, and AllowOverwriteExistingFile
- Msvm_VirtualSystemSettingData: HighMmioGapSize
- Msvm_VirtualSystemSnapshotSettingData: GuestBackupType
Removed properties:
- Msvm_VirtualSystemSettingData: ParentPackage
Windows 10
New classes:
- CIM_CollectedMSEs
- CIM_Collection
- CIM_CollectionOfMSEs
- CIM_ElementView
- CIM_MemberOfCollection
- CIM_TPM
- CIM_View
- Msvm_CollectedCollections
- Msvm_CollectedReferencePoints
- Msvm_CollectedSnapshots
- Msvm_CollectedVirtualSystems
- Msvm_CollectionManagementService
- Msvm_CollectionReferencePointExportSettingData
- Msvm_CollectionReferencePointService
- Msvm_CollectionReferencePointSettingData
- Msvm_CollectionSettingData
- Msvm_CollectionSnapshotExportSettingData
- Msvm_CollectionSnapshotService
- Msvm_ComputerSystemSummaryInformation
- Msvm_EthernetSwitchPortVfpSettingData
- Msvm_GuestClusterInformation
- Msvm_GuestCommunicationService
- Msvm_GuestCommunicationServiceSettingData
- Msvm_GuestServiceInterfaceSettingDataComponent
- Msvm_ManagementCollection
- Msvm_MoveUnmanagedVhd
- Msvm_ReferencePointCollection
- Msvm_ReferencePointOfVirtualSystem
- Msvm_ReferencePointOfVirtualSystemCollection
- Msvm_ResourceDependentOnResource
- Msvm_SerialPortSettingData
- Msvm_ServiceOfVssComponent
- Msvm_SnapshotCollection
- Msvm_SnapshotOfVirtualSystemCollection
- Msvm_StandaloneV2ElementConformsToProfile
- Msvm_SyntheticDisplayControllerSettingData
- Msvm_SyntheticKeyboard
- Msvm_TPM
- Msvm_TPMSettingData
- Msvm_VHDSetInformation
- Msvm_VHDSnapshotInformation
- Msvm_VirtualEthernetSwitchNicTeamingMember
- Msvm_VirtualEthernetSwitchNicTeamingSettingData
- Msvm_VirtualMachineToDisks
- Msvm_VirtualSystemCollection
- Msvm_VirtualSystemReferencePoint
- Msvm_VirtualSystemReferencePointExportSettingData
- Msvm_VirtualSystemReferencePointService
- Msvm_VirtualSystemReferencePointSettingData
- Msvm_VirtualSystemSnapshotSettingData
- Msvm_VssService
Removed class:
- Msvm_ResourcePoolComponent
- Msvm_ResourcePoolRegistration
- Msvm_ResourcePoolSettingData
- Msvm_VirtualizationComponent
- Msvm_VirtualizationComponentRegistration
New properties:
- Msvm_BootSourceSettingData: OptionalData
- Msvm_EthernetPortAllocationSettingData: LastKnownSwitchName, and CompartmentGuid
- Msvm_EthernetSwitchHardwareOffloadData: PacketDirectInUse
- Msvm_EthernetSwitchPortOffloadSettingData: PacketDirectModerationInterval, PacketDirectModerationCount, PacketDirectNumProcs,
- Msvm_EthernetSwitchPortSecuritySettingData: EnableFixSpeed10G, and Reserved
- Msvm_GuestServiceInterfaceComponentSettingData: DefaultEnabledStatePolicy
- Msvm_ProcessorSettingData: EnableHostResourceProtection
- Msvm_StorageAllocationSettingData: StorageQoSPolicyID, CachingMode, and SnapshotId
- Msvm_SummaryInformation: InstanceID, Version, ThumbnailImageHeight, ThumbnailImageWidth, and HostComputerSystemName
- Msvm_Synthetic3DDisplayControllerSettingData: VRAMSizeBytes
- Msvm_VirtualEthernetSwitchSettingData: TeamingEnabled, and PacketDirectEnabled
- Msvm_VirtualHardDiskSettingData: ParentTimestamp, and ParentIdentifier
- Msvm_VirtualHardDiskState: Timestamp
- Msvm_VirtualSystemExportSettingData: BackupIntent, and DifferentialBackupBase
- Msvm_VirtualSystemManagementServiceSettingData: DefaultVirtualHardDiskCachingMode
- Msvm_VirtualSystemMigrationSettingData: RemoveSourceUnmanagedVhds, and UnmanagedVhds
- Msvm_VirtualSystemSettingData: UserSnapshotType, GuestControlledCacheTypes, LockOnDisconnect, ParentPackage, AutomaticCriticalErrorActionTimeout, AutomaticCriticalErrorAction, ConsoleMode, and SecureBootTemplateId
New methods:
- Msvm_ImageManagementService class: ConvertVirtualHardDiskToVHDSet, DeleteVHDSnapshot, FindMountedStorageImageInstance, GetVHDSetInformation, GetVHDSnapshotInformation, GetVirtualDiskChanges, OptimizeVHDSet, and SetVHDSnapshotInformation
- Msvm_ShutdownComponent class: InitiateReboot
- Msvm_VirtualSystemManagementService: AddBootSourceSettings, AddGuestServiceSettings, DefinePlannedSystem, ModifyGuestServiceSettings, RemoveBootSourceSettings, RemoveGuesServiceSettings, SetInitialMachineConfigurationData, and UpgradeSystemVersion
- Msvm_VirtualSystemSnapshotService class: ConvertToReferencePoint
Windows 8.1 and Windows Server 2012 R2
Windows 8.1 and Windows Server 2012 R2 include new functionality for version 2 of the Hyper-V WMI provider.
- The IOPSAllocationUnits, IOPSLimit, IOPSReservation, and PersistentReservationsSupported properties have been added to the Msvm_StorageAllocationSettingData class.
- The VirtualDiskId property has been added to the Msvm_VirtualHardDiskSettingData class.
- Info about storage QoS has been added to the OperationalStatus property of the Msvm_LogicalDisk and Msvm_ResourcePool classes.
- Msvm_StorageAlert class
- The ClusterMonitored property has been added to the Msvm_EmulatedEthernetPortSettingData and Msvm_SyntheticEthernetPortSettingData classes.
- The EnableCompression and EnableSmbTransport properties have been added to the Msvm_VirtualSystemMigrationServiceSettingData class.
- The EnableCompression property has been added to the Msvm_VirtualSystemMigrationSettingData class. The TransportType property includes info about live migration.
- Msvm_CopyFileToGuestJob class
- Msvm_CopyFileToGuestSettingData class
- Msvm_GuestFileService class
- Msvm_GuestService class
- Msvm_GuestServiceInterfaceComponent class
- Msvm_GuestServiceInterfaceComponentSettingData class
- Msvm_RegisteredGuestService class
- The EnhancedSessionModeEnabled property has been added to the Msvm_VirtualSystemManagementServiceSettingData class.
- The EnhancedModeState property and the InjectNonMaskableInterrupt method have been added to the Msvm_ComputerSystem class.
- The BootSourceOrder, LowMmioGapSize, NetworkBootPreferredProtocol, PauseAfterBootFailure , SecureBootEnabled, and VirtualSystemSubType properties have been added to the Msvm_VirtualSystemSettingData class.
- Msvm_BootSourceSettingData class
- Msvm_BootSourceComponent class
- Msvm_LogicalIdentity class
- Msvm_CompatibilityVector class
- The GetSystemCompatibilityVectors method has been added to the Msvm_VirtualSystemMigrationService class.
- The ReplicationStateEx, ReplicationHealthEx, EnhancedSessionModeState, VirtualSwitchNames , and VirtualSystemSubType properties have been added to the Msvm_SummaryInformation class. The ReplicationState and ReplicationHealth properties are deprecated and replaced by the ReplicationStateEx and ReplicationHealthEx properties.
- The PnpDevicePath property has been added to the Msvm_MountedStorageImage class.
- The AllowedHashAlgorithms and TrustedIssuerCertificateHashes properties have been added to the Msvm_TerminalServiceSettingData class.
Windows 8.1 and Windows Server 2012 R2 include new functionality for virtual machine replication and failover recovery.
Msvm_ReplicationProvider class
The ChangeReplicationModeToPrimary, GetReplicationStatisticsEx, InitiateFailback, RemoveReplicationRelationshipEx, and ResetReplicationStatisticsEx methods have been added to the Msvm_ReplicationService class. The GetReplicationStatisticsEx, RemoveReplicationRelationshipEx, and ResetReplicationStatisticsEx methods replace the GetReplicationStatistics, RemoveReplicationRelationship, and ResetReplicationStatistics methods.
The Msvm_SystemReplicationRelationship class shows an association between a virtual machine and many replication relationship.
The AdditionalSettings and ReplicationProvider properties have been added to the Msvm_ReplicationSettingData class.
Info about host-to-host provider has been added to the CreateReplicationRelationship and ModifyReplicationSettings methods of the Msvm_ReplicationService class.
The RequestReplicationStateChangeEx method has been added to the Msvm_ComputerSystem class and replaces the RequestReplicationStateChange method. The InstanceID property can now indicate extended replication. For more info about extended replication, see Msvm_ReplicationRelationship.
Msvm_ReplicationSettingData and Msvm_ReplicationRelationship instances have a 1:1 relationship that you can represent with a Msvm_SettingsDefineState association.
Msvm_SettingsDefineState property name Value ManagedElement Represents the Msvm_ReplicationRelationship object SettingData Represents the associated Msvm_ReplicationSettingData object Msvm_ReplicationSettingData can differentiate between setting instances for replication relationship based on the InstanceId or ReplicationRelationship property. Therefore, these methods that deal with single relationship didn't change their signature:
Although you can use GetReplicationStatistics, RemoveReplicationRelationship, and RequestReplicationStateChange always for the primary relationship, we recommend that you instead use GetReplicationStatisticsEx, RemoveReplicationRelationshipEx, and RequestReplicationStateChangeEx because they can process primary and extended replication relationship. For more info about extended replication, see Msvm_ReplicationRelationship.
Although these properties of the Msvm_ComputerSystem class continue to indicate the status for primary replication relationship, instead use these properties of a Msvm_ReplicationRelationship object to determine the current status for primary and extended replication relationship.
Property name Type ReplicationState Uint16 (RO) ReplicationHealth Uint16 (RO) LastReplicationTime DateTime FailedOverReplicationType Uint16 LastApplicationConsistentReplicationTime DateTime LastReplicationType Uint16