InstallDate - property in ROOT\MicrosoftIISv2 namespace

InstallDate in other namespaces

List of classes with InstallDate local property in ROOT\MicrosoftIISv2 namespace

propertyClassOrigin
InstallDateCIM_ManagedSystemElementCIM_ManagedSystemElement

List of classes with InstallDate derived property in ROOT\MicrosoftIISv2 namespace

propertyClassOrigin
InstallDateCIM_ApplicationSystemCIM_ManagedSystemElement
InstallDateCIM_LogicalElementCIM_ManagedSystemElement
InstallDateCIM_ServiceCIM_ManagedSystemElement
InstallDateCIM_SystemCIM_ManagedSystemElement
InstallDateIIsACECIM_ManagedSystemElement
InstallDateIIsAdminACLCIM_ManagedSystemElement
InstallDateIIsApplicationPoolCIM_ManagedSystemElement
InstallDateIIsApplicationPoolsCIM_ManagedSystemElement
InstallDateIIsCertMapperCIM_ManagedSystemElement
InstallDateIIsCompressionSchemeCIM_ManagedSystemElement
InstallDateIIsCompressionSchemesCIM_ManagedSystemElement
InstallDateIIsComputerCIM_ManagedSystemElement
InstallDateIIsCustomLogModuleCIM_ManagedSystemElement
InstallDateIIsDirectoryCIM_ManagedSystemElement
InstallDateIIsFilterCIM_ManagedSystemElement
InstallDateIIsFiltersCIM_ManagedSystemElement
InstallDateIIsFtpInfoCIM_ManagedSystemElement
InstallDateIIsFtpServerCIM_ManagedSystemElement
InstallDateIIsFtpServiceCIM_ManagedSystemElement
InstallDateIIsFtpVirtualDirCIM_ManagedSystemElement
InstallDateIIsImapInfoCIM_ManagedSystemElement
InstallDateIIsImapRoutingSourceCIM_ManagedSystemElement
InstallDateIIsImapServerCIM_ManagedSystemElement
InstallDateIIsImapServiceCIM_ManagedSystemElement
InstallDateIIsImapSessionsCIM_ManagedSystemElement
InstallDateIIsImapVirtualDirCIM_ManagedSystemElement
InstallDateIIsLogModuleCIM_ManagedSystemElement
InstallDateIIsLogModulesCIM_ManagedSystemElement
InstallDateIIsMimeMapCIM_ManagedSystemElement
InstallDateIIsNntpExpirationCIM_ManagedSystemElement
InstallDateIIsNntpExpireCIM_ManagedSystemElement
InstallDateIIsNntpFeedCIM_ManagedSystemElement
InstallDateIIsNntpFeedsCIM_ManagedSystemElement
InstallDateIIsNntpGroupsCIM_ManagedSystemElement
InstallDateIIsNntpInfoCIM_ManagedSystemElement
InstallDateIIsNntpRebuildCIM_ManagedSystemElement
InstallDateIIsNntpServerCIM_ManagedSystemElement
InstallDateIIsNntpServiceCIM_ManagedSystemElement
InstallDateIIsNntpSessionsCIM_ManagedSystemElement
InstallDateIIsNntpVirtualDirCIM_ManagedSystemElement
InstallDateIIsObjectCIM_ManagedSystemElement
InstallDateIIsPop3InfoCIM_ManagedSystemElement
InstallDateIIsPop3RoutingSourceCIM_ManagedSystemElement
InstallDateIIsPop3ServerCIM_ManagedSystemElement
InstallDateIIsPop3ServiceCIM_ManagedSystemElement
InstallDateIIsPop3SessionsCIM_ManagedSystemElement
InstallDateIIsPop3VirtualDirCIM_ManagedSystemElement
InstallDateIIsSmtpAliasCIM_ManagedSystemElement
InstallDateIIsSmtpDLCIM_ManagedSystemElement
InstallDateIIsSmtpDomainCIM_ManagedSystemElement
InstallDateIIsSmtpInfoCIM_ManagedSystemElement
InstallDateIIsSmtpRoutingSourceCIM_ManagedSystemElement
InstallDateIIsSmtpServerCIM_ManagedSystemElement
InstallDateIIsSmtpServiceCIM_ManagedSystemElement
InstallDateIIsSmtpSessionsCIM_ManagedSystemElement
InstallDateIIsSmtpUserCIM_ManagedSystemElement
InstallDateIIsSmtpVirtualDirCIM_ManagedSystemElement
InstallDateIIsUserDefinedLogicalElementCIM_ManagedSystemElement
InstallDateIIsWebDirectoryCIM_ManagedSystemElement
InstallDateIIsWebFileCIM_ManagedSystemElement
InstallDateIIsWebInfoCIM_ManagedSystemElement
InstallDateIIsWebServerCIM_ManagedSystemElement
InstallDateIIsWebServiceCIM_ManagedSystemElement
InstallDateIIsWebVirtualDirCIM_ManagedSystemElement
InstallDateWin32_BaseServiceCIM_ManagedSystemElement
InstallDateWin32_ServiceCIM_ManagedSystemElement

Code samples for InstallDate property

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

Short VBS code - get a single specified instance of Win32_Service 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\MicrosoftIISv2:" + _
 "Win32_Service.Name=""adfssrv""")
Wscript.Echo wmiObject.InstallDate 'or other property name, see properties
See more VBS samples of Win32_Service class

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

Get a specified instance of Win32_Service 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\\MicrosoftIISv2");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM Win32_Service Where Name=\"adfssrv\"");

//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 Win32_Service

Get a specified instance of Win32_Service 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\MicrosoftIISv2")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM Win32_Service Where Name="adfssrv"")

'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
online utility - toplist
WUtils.com