Ever wonder how long a particular service has been running? With WMI you can come pretty close to getting a handle on this. We start with Win32_Service to get the current process handle. Once we have that, we can query the Win32_Process class and get the creation time for that particular process. You need to…
Category: Scripting
Techmentor 2006 Orlando
I will be co-teaching the Scripting track at the Orlando Techmentor conference with Don Jones (March 20-24,2006). The courses will cover topics such as command line scripting, Exchange 2003 scripting, web scripting, ADSI, WMI Virtual Server 2005 and more. If you can make it down, I hope you’ll stop by and say hello. As an…
Advanced VBScript for Windows Administrators
I’ve written a book with Don Jones on advanced VBScript topics. The book starts with a crash course on Windows scripting so even if you’ve only had a little exposure to VBScript, WMI, or ADSI you can get up to speed quickly. In the book we cover some advanced WMI scripting techniques, getting the most…