Entries in the ‘wmi’ Category:

how to know my windows operating system installation time?

Installation of time windows will be saved in Win32_OperatingSystem WMI class. Alternatively it will be available in registry(HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\INSTALLDATE). So, now you need to figure out your own way of querying values from either wmi or from registry. Being a fan of powershell, I want you to help with two line PS code to get [...]

Tags:

Comments (2)

WMI Code Generator — a easy tool for WMI code generation

I generally use Scriptomatic Tool for samples of WMI queries using VBscripts. It is useful and servers the purpose in many conditions. But I decided to stop using it…because, I am impressed with Microsofts new Tool “WMI Code Generator” — yay.. :-) It is really a rich version of Scriptomatic tool. Using WMI code generator, [...]

Tags: , ,

Leave a Comment

Understanding WMI event notification

Many people aren’t aware of this beautiful feature introduced with Windows 2000 and continuing in it’s successors. To get a better sense of what it is, lets a take a example. Your CPU is spiking to 100% at mid nights and you got the task of identifying the root cause. The spike is very  sporadic [...]

Leave a Comment