Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • Insanity Plea

    I don’t know if this is a legitimate goal for me at this point, it presumes a lot. Qualifying time is 3:20 So… here it is: My long term goal is to qualify for the Boston Marathon by the age of 40. Since the Boston qualifying time is stated time plus 59 seconds, my goal…

    April 13, 2008
  • WMIC service cheat sheet.

    Microsoft’s documentation is thorough, but I got a lot more out of the above link.

    April 11, 2008
  • Time since last boot (Windows, VBScript)

    I don’t remember where I found this, I was just happy to find code that did this. strComputer = "." ‘ Local computer set objWMIDateTime = CreateObject("WbemScripting.SWbemDateTime")set objWMI = GetObject("winmgmts:\" & strComputer & "rootcimv2")set colOS = objWMI.InstancesOf("Win32_OperatingSystem")for each objOS in colOS objWMIDateTime.Value = objOS.LastBootUpTime Wscript.Echo "Last Boot Up Time: " & objWMIDateTime.GetVarDate & vbcrlf &…

    April 10, 2008
←Previous Page
1 … 273 274 275 276 277 … 317
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress