InstallDate - property in ROOT\virtualization\v2 namespace

InstallDate in other namespaces

List of classes with InstallDate local property in ROOT\virtualization\v2 namespace

propertyClassOrigin
InstallDateCIM_ManagedSystemElementCIM_ManagedSystemElement

List of classes with InstallDate derived property in ROOT\virtualization\v2 namespace

propertyClassOrigin
InstallDateCIM_BIOSElementCIM_ManagedSystemElement
InstallDateCIM_CDROMDriveCIM_ManagedSystemElement
InstallDateCIM_ComputerSystemCIM_ManagedSystemElement
InstallDateCIM_ConcreteJobCIM_ManagedSystemElement
InstallDateCIM_ControllerCIM_ManagedSystemElement
InstallDateCIM_DesktopMonitorCIM_ManagedSystemElement
InstallDateCIM_DiskDriveCIM_ManagedSystemElement
InstallDateCIM_DisketteDriveCIM_ManagedSystemElement
InstallDateCIM_DisplayCIM_ManagedSystemElement
InstallDateCIM_DisplayControllerCIM_ManagedSystemElement
InstallDateCIM_DVDDriveCIM_ManagedSystemElement
InstallDateCIM_DynamicForwardingEntryCIM_ManagedSystemElement
InstallDateCIM_EnabledLogicalElementCIM_ManagedSystemElement
InstallDateCIM_EthernetPortCIM_ManagedSystemElement
InstallDateCIM_FCPortCIM_ManagedSystemElement
InstallDateCIM_ForwardingServiceCIM_ManagedSystemElement
InstallDateCIM_IDEControllerCIM_ManagedSystemElement
InstallDateCIM_JobCIM_ManagedSystemElement
InstallDateCIM_LANEndpointCIM_ManagedSystemElement
InstallDateCIM_LogicalDeviceCIM_ManagedSystemElement
InstallDateCIM_LogicalDiskCIM_ManagedSystemElement
InstallDateCIM_LogicalElementCIM_ManagedSystemElement
InstallDateCIM_LogicalPortCIM_ManagedSystemElement
InstallDateCIM_MediaAccessDeviceCIM_ManagedSystemElement
InstallDateCIM_MemoryCIM_ManagedSystemElement
InstallDateCIM_MetricServiceCIM_ManagedSystemElement
InstallDateCIM_NetworkPortCIM_ManagedSystemElement
InstallDateCIM_NetworkServiceCIM_ManagedSystemElement
InstallDateCIM_PointingDeviceCIM_ManagedSystemElement
InstallDateCIM_ProcessorCIM_ManagedSystemElement
InstallDateCIM_ProtocolControllerCIM_ManagedSystemElement
InstallDateCIM_ProtocolEndpointCIM_ManagedSystemElement
InstallDateCIM_ResourcePoolCIM_ManagedSystemElement
InstallDateCIM_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
InstallDateCIM_SCSIProtocolControllerCIM_ManagedSystemElement
InstallDateCIM_SerialControllerCIM_ManagedSystemElement
InstallDateCIM_ServiceCIM_ManagedSystemElement
InstallDateCIM_ServiceAccessPointCIM_ManagedSystemElement
InstallDateCIM_SoftwareElementCIM_ManagedSystemElement
InstallDateCIM_StorageExtentCIM_ManagedSystemElement
InstallDateCIM_SwitchPortCIM_ManagedSystemElement
InstallDateCIM_SwitchServiceCIM_ManagedSystemElement
InstallDateCIM_SystemCIM_ManagedSystemElement
InstallDateCIM_TapeDriveCIM_ManagedSystemElement
InstallDateCIM_TransparentBridgingServiceCIM_ManagedSystemElement
InstallDateCIM_USBDeviceCIM_ManagedSystemElement
InstallDateCIM_UserDeviceCIM_ManagedSystemElement
InstallDateCIM_VideoHeadCIM_ManagedSystemElement
InstallDateCIM_VirtualSystemManagementServiceCIM_ManagedSystemElement
InstallDateCIM_VirtualSystemMigrationServiceCIM_ManagedSystemElement
InstallDateCIM_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
InstallDateCIM_VLANEndpointCIM_ManagedSystemElement
InstallDateCIM_WiFiEndpointCIM_ManagedSystemElement
InstallDateCIM_WiFiPortCIM_ManagedSystemElement
InstallDateMsvm_BIOSElementCIM_ManagedSystemElement
InstallDateMsvm_ComputerSystemCIM_ManagedSystemElement
InstallDateMsvm_ConcreteJobCIM_ManagedSystemElement
InstallDateMsvm_CopyFileToGuestJobCIM_ManagedSystemElement
InstallDateMsvm_DiskDriveCIM_ManagedSystemElement
InstallDateMsvm_DisketteControllerCIM_ManagedSystemElement
InstallDateMsvm_DisketteDriveCIM_ManagedSystemElement
InstallDateMsvm_DVDDriveCIM_ManagedSystemElement
InstallDateMsvm_DynamicForwardingEntryCIM_ManagedSystemElement
InstallDateMsvm_EmulatedEthernetPortCIM_ManagedSystemElement
InstallDateMsvm_EthernetSwitchExtensionCIM_ManagedSystemElement
InstallDateMsvm_EthernetSwitchPortCIM_ManagedSystemElement
InstallDateMsvm_ExternalEthernetPortCIM_ManagedSystemElement
InstallDateMsvm_ExternalFcPortCIM_ManagedSystemElement
InstallDateMsvm_FcEndpointCIM_ManagedSystemElement
InstallDateMsvm_FcSwitchPortCIM_ManagedSystemElement
InstallDateMsvm_GuestFileServiceCIM_ManagedSystemElement
InstallDateMsvm_GuestServiceCIM_ManagedSystemElement
InstallDateMsvm_GuestServiceInterfaceComponentCIM_ManagedSystemElement
InstallDateMsvm_HeartbeatComponentCIM_ManagedSystemElement
InstallDateMsvm_IDEControllerCIM_ManagedSystemElement
InstallDateMsvm_ImageManagementServiceCIM_ManagedSystemElement
InstallDateMsvm_InstalledEthernetSwitchExtensionCIM_ManagedSystemElement
InstallDateMsvm_InternalEthernetPortCIM_ManagedSystemElement
InstallDateMsvm_KeyboardCIM_ManagedSystemElement
InstallDateMsvm_KvpExchangeComponentCIM_ManagedSystemElement
InstallDateMsvm_LANEndpointCIM_ManagedSystemElement
InstallDateMsvm_LogicalDiskCIM_ManagedSystemElement
InstallDateMsvm_MemoryCIM_ManagedSystemElement
InstallDateMsvm_MetricServiceCIM_ManagedSystemElement
InstallDateMsvm_MigrationJobCIM_ManagedSystemElement
InstallDateMsvm_MountedStorageImageCIM_ManagedSystemElement
InstallDateMsvm_NumaNodeCIM_ManagedSystemElement
InstallDateMsvm_Physical3dGraphicsProcessorCIM_ManagedSystemElement
InstallDateMsvm_PlannedComputerSystemCIM_ManagedSystemElement
InstallDateMsvm_ProcessorCIM_ManagedSystemElement
InstallDateMsvm_ProcessorPoolCIM_ManagedSystemElement
InstallDateMsvm_Ps2MouseCIM_ManagedSystemElement
InstallDateMsvm_RdvComponentCIM_ManagedSystemElement
InstallDateMsvm_ReplicationProviderCIM_ManagedSystemElement
InstallDateMsvm_ReplicationRelationshipCIM_ManagedSystemElement
InstallDateMsvm_ReplicationServiceCIM_ManagedSystemElement
InstallDateMsvm_ResourcePoolCIM_ManagedSystemElement
InstallDateMsvm_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
InstallDateMsvm_S3DisplayControllerCIM_ManagedSystemElement
InstallDateMsvm_SCSIProtocolControllerCIM_ManagedSystemElement
InstallDateMsvm_SerialControllerCIM_ManagedSystemElement
InstallDateMsvm_SerialPortCIM_ManagedSystemElement
InstallDateMsvm_ShutdownComponentCIM_ManagedSystemElement
InstallDateMsvm_StorageJobCIM_ManagedSystemElement
InstallDateMsvm_Synth3dVideoPoolCIM_ManagedSystemElement
InstallDateMsvm_Synthetic3DDisplayControllerCIM_ManagedSystemElement
InstallDateMsvm_Synthetic3DServiceCIM_ManagedSystemElement
InstallDateMsvm_SyntheticDisplayControllerCIM_ManagedSystemElement
InstallDateMsvm_SyntheticEthernetPortCIM_ManagedSystemElement
InstallDateMsvm_SyntheticFcPortCIM_ManagedSystemElement
InstallDateMsvm_SyntheticMouseCIM_ManagedSystemElement
InstallDateMsvm_TerminalConnectionCIM_ManagedSystemElement
InstallDateMsvm_TerminalServiceCIM_ManagedSystemElement
InstallDateMsvm_TimeSyncComponentCIM_ManagedSystemElement
InstallDateMsvm_TransparentBridgingServiceCIM_ManagedSystemElement
InstallDateMsvm_VideoHeadCIM_ManagedSystemElement
InstallDateMsvm_VirtualEthernetSwitchCIM_ManagedSystemElement
InstallDateMsvm_VirtualEthernetSwitchManagementServiceCIM_ManagedSystemElement
InstallDateMsvm_VirtualFcSwitchCIM_ManagedSystemElement
InstallDateMsvm_VirtualSystemManagementServiceCIM_ManagedSystemElement
InstallDateMsvm_VirtualSystemMigrationServiceCIM_ManagedSystemElement
InstallDateMsvm_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
InstallDateMsvm_VLANEndpointCIM_ManagedSystemElement
InstallDateMsvm_VssComponentCIM_ManagedSystemElement
InstallDateMsvm_WiFiEndpointCIM_ManagedSystemElement
InstallDateMsvm_WiFiPortCIM_ManagedSystemElement

Code samples for InstallDate property

Get instance of WMI class using GetObject, InstallDate property of Msvm_ResourcePool

Short VBS code - get a single specified instance of Msvm_ResourcePool class or get a default unnamed instance (singleton) of the class, using one single command GetObject with exact path of the wmi object.

'https://wutils.com/wmi/
Dim wmiObject
Set wmiObject = GetObject( _
 "WINMGMTS:\\.\ROOT\virtualization\v2:" + _
 "Msvm_ResourcePool.InstanceID=""Microsoft:118C3BE5-0D31-4804-85F0-5C6074ABEA8F""")
Wscript.Echo wmiObject.InstallDate 'or other property name, see properties
See more VBS samples of Msvm_ResourcePool class

WMI query - sample windows WQL with C#, InstallDate property of Msvm_ResourcePool

Get a specified instance of Msvm_ResourcePool by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this c# sample code.
See in another language: VBScript, VB.Net.
//https://wutils.com/wmi/

//Project -> Add reference -> System.Management
//using System.Management;

//create a management scope object
ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\virtualization\\v2");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM Msvm_ResourcePool Where InstanceID=\"Microsoft:118C3BE5-0D31-4804-85F0-5C6074ABEA8F\"");

//create object searcher
ManagementObjectSearcher searcher =
                        new ManagementObjectSearcher(scope, query);

//get a collection of WMI objects
ManagementObjectCollection queryCollection = searcher.Get();

//enumerate the collection.
foreach (ManagementObject m in queryCollection) 
{
  // access properties of the WMI object
  Console.WriteLine("InstallDate : {0}", m["InstallDate"]);
  
}

WMI query - sample windows WQL with VB.Net, InstallDate property of Msvm_ResourcePool

Get a specified instance of Msvm_ResourcePool by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this VB.Net sample code.
See in another language: VBScript, C#
'Project -> Add reference -> System.Management
'Imports System.Management

'Get the namespace management scope
Dim Scope As New ManagementScope("\\.\ROOT\virtualization\v2")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM Msvm_ResourcePool Where InstanceID="Microsoft:118C3BE5-0D31-4804-85F0-5C6074ABEA8F"")

'Create object searcher
Dim Searcher As New ManagementObjectSearcher(Scope, Query)

'Get a collection of WMI objects
Dim queryCollection As ManagementObjectCollection = Searcher.Get

'Enumerate wmi object 
For Each mObject As ManagementObject In queryCollection
  'write out some property value
  Console.WriteLine("InstallDate : {0}", mObject("InstallDate"))
Next
comments powered by Disqus
WUtils.com