Hyper-V WMI 提供者的新功能
Hyper-V WMI 提供者第 2 版是Windows 8和Windows Server 2012的新功能。
Windows 10 (版本 1709)
新類別:
新屬性:
- Msvm_CollectionReferencePointExportJob: ExportedGuestStateFilePaths
- Msvm_EthernetSwitchHardwareOffloadData: DefaultQueueVrssIndependentHostSpreading、 DefaultQueueVrssExcludePrimaryProcessor、 DefaultQueueVrssQueueSchedulingMode和 DefaultQueueVrssMinQueuePairs
- Msvm_EthernetSwitchHardwareOffloadSettingData: DefaultQueueVrssIndependentHostSpreading、 DefaultQueueVrssExcludePrimaryProcessor、 DefaultQueueVrssQueueSchedulingMode、 DefaultQueueVrssMinQueuePairs、
- Msvm_EthernetSwitchPortOffloadData: VrssVmbusChannelAffinityPolicy、 VrssIndependentHostSpreading、 VrssExcludePrimaryProcessor、 VrssQueueSchedulingModes和 VrssMinQueuePairs
- Msvm_VirtualHardDiskSettingData: DataAlignment、 PmemAddressAbstractionType和 IsPmemCompatible
- Msvm_VirtualSystemExportSettingData: DisableDifferentialOfIgnoredStorage和 ExcludedVirtualHardDisks
- Msvm_VirtualSystemManagementServiceSettingData: HypervisorRootSchedulerEnabled
- Msvm_VirtualSystemMigrationSettingData: CPUCappingMagnitude和 CancelIfBlackoutThresholdExceeded
- Msvm_VirtualSystemReferencePointExportJob: ExportedGuestStateFilePath
- Msvm_VirtualSystemSettingData: Architecture、 AutomaticSnapshotsEnabled、 IsAutomaticSnapshot、 GuestStateFile和 GuestStateDataRoot
Windows 10 (版本 1703)
新類別:
- 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
已移除類別:
新方法:
- Msvm_CollectionSnapshotService 類別: ApplySnapshot
- Msvm_VirtualSystemManagementService類別:AddSystemComponentSetting、DiagnoseNetworkConnection、ModifySystemComponentSettings 和 RemoveSystemComponentSettings
- Msvm_VirtualSystemReferencePointService 類別: ImportReferencePointMetadata
新屬性:
- Msvm_EthernetSwitchHardwareOffloadData: DefaultQueueVmmqQueuePairs、 DefaultQueueVmmqEnabled 和 DefaultQueueVrssEnabled
- Msvm_EthernetSwitchPortOffloadData: VmmqQueuePairs、 VmmqEnabled和 VrssEnabled
- Msvm_EthernetSwitchPortOffloadSettingData: VmmqQueuePairs、 VmmqEnabled 和 VrssEnabled
- Msvm_GuestClusterInformation: LastResourceMoveTime
- Msvm_KvpExchangeComponentSettingData: DisableHostKVPItems
- Msvm_MemorySettingData: SgxSize 和 SgxEnabled
- Msvm_Physical3dGraphicsProcessor: CompatibleForVirtualization 和 DriverModelVersion
- Msvm_ProcessorSettingData: HwThreadsPerCoreCpuGroupId、 HideHypervisorPresent和 ExposeVirtualizationExtensions
- Msvm_SettingsDefineCapabilities: SupportStatement
- Msvm_StorageAllocationSettingData: WriteHardeningMethod
- Msvm_SummaryInformation: 受防護
- Msvm_SyntheticEthernetPortSettingData: AllowPacketDirect
- Msvm_VirtualSystemCollection: LastApplyConsistencyLevel、 LastApplyVirtualMachineIds、 LastApplyTime、 FailedOverReplicationType、 ReplicationMode和 ReplicationState
- Msvm_VirtualSystemExportSettingData: ExportForLiveMigration
- Msvm_VirtualSystemMigrationSettingData: 避免移除VHD和 AllowOverwriteExistingFile
- Msvm_VirtualSystemSettingData: HighMmioGapSize
- Msvm_VirtualSystemSnapshotSettingData: GuestBackupType
移除的屬性:
- Msvm_VirtualSystemSettingData: ParentPackage
Windows 10
新類別:
- 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
已移除類別:
- Msvm_ResourcePoolComponent
- Msvm_ResourcePoolRegistration
- Msvm_ResourcePoolSettingData
- Msvm_VirtualizationComponent
- Msvm_VirtualizationComponentRegistration
新屬性:
- Msvm_BootSourceSettingData: OptionalData
- Msvm_EthernetPortAllocationSettingData: LastKnownSwitchName和 CompartmentGuid
- Msvm_EthernetSwitchHardwareOffloadData: PacketDirectInUse
- Msvm_EthernetSwitchPortOffloadSettingData: PacketDirectModerationInterval、 PacketDirectModerationCount、 PacketDirectNumProcs、
- Msvm_EthernetSwitchPortSecuritySettingData: EnableFixSpeed10G和 Reserved
- Msvm_GuestServiceInterfaceComponentSettingData: DefaultEnabledStatePolicy
- Msvm_ProcessorSettingData: EnableHostResourceProtection
- Msvm_StorageAllocationSettingData: StorageQoSPolicyID、 CachingMode和 SnapshotId
- Msvm_SummaryInformation: InstanceID、 Version、 ThumbnailImageHeight、 ThumbnailImageWidth和 HostComputerSystemName
- Msvm_Synthetic3DDisplayControllerSettingData: VRAMSizeBytes
- Msvm_VirtualEthernetSwitchSettingData: TeamingEnabled和 PacketDirectEnabled
- Msvm_VirtualHardDiskSettingData: ParentTimestamp和 ParentIdentifier
- Msvm_VirtualHardDiskState: 時間戳記
- Msvm_VirtualSystemExportSettingData: BackupIntent和 DifferentialBackupBase
- Msvm_VirtualSystemManagementServiceSettingData: DefaultVirtualHardDiskCachingMode
- Msvm_VirtualSystemMigrationSettingData: RemoveSourceUnmanagedVhds和 UnmanagedVhds
- Msvm_VirtualSystemSettingData:UserSnapshotType、GuestControlledCacheTypes、LockOnDisconnect、ParentPackage、AutomaticCriticalErrorActionTimeout、AutomaticCriticalErrorAction、ConsoleMode和SecureBootTemplateId
新方法:
- Msvm_ImageManagementService 類別: ConvertVirtualHardDiskToVHDSet、 DeleteVHDSnapshot、 FindMountedStorageImageInstance、 GetVHDSetInformation、 GetVHDSnapshotInformation、 GetVirtualDiskChanges、 OptimizeVHDSet和 SetVHDSnapshotInformation
- Msvm_ShutdownComponent 類別: InitiateReboot
- Msvm_VirtualSystemManagementService: AddBootSourceSettings、 AddGuestServiceSettings、 DefinePlannedSystem、 ModifyGuestServiceSettings、 RemoveBootSourceSettings、 RemoveGuesServiceSettings、 SetInitialMachineConfigurationData和 UpgradeSystemVersion
- Msvm_VirtualSystemSnapshotService 類別: ConvertToReferencePoint
Windows 8.1 與 Windows Server 2012 R2
Windows 8.1和 Windows Server 2012 R2 包含 Hyper-V WMI 提供者第 2 版的新功能。
- IOPSAllocationUnits、IOPSLimit、IOPSReservation和PersistentReservationsSupported屬性已新增至Msvm_StorageAllocationSettingData類別。
- VirtualDiskId屬性已新增至Msvm_VirtualHardDiskSettingData類別。
- 儲存體 QoS 的相關資訊已新增至Msvm_LogicalDisk和Msvm_ResourcePool類別的OperationalStatus屬性。
- Msvm_StorageAlert 類別
- ClusterMonitored屬性已新增至Msvm_EmulatedEthernetPortSettingData和Msvm_SyntheticEthernetPortSettingData類別。
- EnableCompression和EnableSmbTransport屬性已新增至Msvm_VirtualSystemMigrationServiceSettingData類別。
- EnableCompression屬性已新增至Msvm_VirtualSystemMigrationSettingData類別。 TransportType屬性包含即時移轉的相關資訊。
- Msvm_CopyFileToGuestJob 類別
- Msvm_CopyFileToGuestSettingData 類別
- Msvm_GuestFileService 類別
- Msvm_GuestService 類別
- Msvm_GuestServiceInterfaceComponent 類別
- Msvm_GuestServiceInterfaceComponentSettingData 類別
- Msvm_RegisteredGuestService 類別
- EnhancedSessionModeEnabled屬性已新增至Msvm_VirtualSystemManagementServiceSettingData類別。
- EnhancedModeState屬性和InjectNonMaskableInterrupt方法已新增至Msvm_ComputerSystem類別。
- BootSourceOrder、LowMmioGapSize、NetworkBootPreferredProtocol、PauseAfterBootFailure、SecureBootEnabled和VirtualSystemSubType屬性已新增至Msvm_VirtualSystemSettingData類別。
- Msvm_BootSourceSettingData 類別
- Msvm_BootSourceComponent 類別
- Msvm_LogicalIdentity 類別
- Msvm_CompatibilityVector 類別
- GetSystemCompatibilityVectors方法已新增至Msvm_VirtualSystemMigrationService類別。
- ReplicationStateEx、ReplicationHealthEx、EnhancedSessionModeState、VirtualSwitchNames和VirtualSystemSubType屬性已新增至Msvm_SummaryInformation類別。 ReplicationState和ReplicationHealth屬性已被取代,並由ReplicationStateEx和ReplicationHealthEx屬性取代。
- PnpDevicePath屬性已新增至Msvm_MountedStorageImage類別。
- AllowedHashAlgorithms和TrustedIssuerCertificateHashes屬性已新增至Msvm_TerminalServiceSettingData類別。
Windows 8.1和Windows Server 2012 R2 包含虛擬機器複寫和容錯移轉復原的新功能。
ChangeReplicationModeToPrimary、GetReplicationStatisticsEx、InitiateFailback、RemoveReplicationRelationshipEx和ResetReplicationStatisticsEx方法已新增至Msvm_ReplicationService類別。 GetReplicationStatisticsEx、RemoveReplicationRelationshipEx和ResetReplicationStatisticsEx方法會取代GetReplicationStatistics、RemoveReplicationRelationship和ResetReplicationStatistics方法。
Msvm_SystemReplicationRelationship類別會顯示虛擬機器與許多複寫關聯性之間的關聯。
AdditionalSettings和ReplicationProvider屬性已新增至Msvm_ReplicationSettingData類別。
主機對主機提供者的相關資訊已新增至Msvm_ReplicationService類別的CreateReplicationRelationShip和ModifyReplicationSettings方法。
RequestReplicationStateChangeEx方法已新增至Msvm_ComputerSystem類別,並取代RequestReplicationStateChange方法。 InstanceID屬性現在可以指出延伸複寫。 如需擴充複寫的詳細資訊,請參閱 Msvm_ReplicationRelationship。
Msvm_ReplicationSettingData 和 Msvm_ReplicationRelationship 實例具有 1:1 關聯性,您可以使用 Msvm_SettingsDefineState 關聯來表示。
Msvm_SettingsDefineState 屬性名稱 值 ManagedElement 表示 Msvm_ReplicationRelationship 物件 SettingData 表示相關聯的 Msvm_ReplicationSettingData 物件 Msvm_ReplicationSettingData 可以根據 InstanceId 或 ReplicationRelationship 屬性來區分設定複寫關聯性的實例。 因此,處理單一關聯性的這些方法不會變更其簽章:
雖然您可以針對主要關聯性一律使用 GetReplicationStatistics、 RemoveReplicationRelationShip和 RequestReplicationStateChange ,但建議您改用 GetReplicationStatisticsEx、 RemoveReplicationRelationshipEx和 RequestReplicationStateChangeEx ,因為它們可以處理主要和擴充的複寫關聯性。 如需擴充複寫的詳細資訊,請參閱 Msvm_ReplicationRelationship。
雖然 Msvm_ComputerSystem 類別的這些屬性會繼續指出主要複寫關聯性的狀態,但請改用 Msvm_ReplicationRelationship 物件的這些屬性來判斷主要和擴充複寫關聯性的目前狀態。
屬性名稱 類型 ReplicationState Uint16 (RO) ReplicationHealth Uint16 (RO) LastReplicationTime Datetime FailedOverReplicationType Uint16 LastApplicationConsistentReplicationTime Datetime LastReplicationType Uint16