Like most things scripting, there’s usually more than one way to do things. I thought I had a nice solution for getting service uptime via WMI. But alas, there is an even easier way. PowerShell has a ConvertToDateTime method which will convert a WMI time to a standard date time format. $p=ps winlogon$p=get-wmiobject -query “Select…
Day: February 20, 2007
iTunes Lyrics Viewer HTA
I’ve been toying around with the iTunes COM object (iTunes.Application) which gives you some pretty handy control over the iTunes application. I was particularly interested in having something display song lyrics so I developed an HTA that displays album art, artist and song information and lyrics. The tool will refresh whenever a new song is…