Jeff, you might be able to use this article[/url] to do it.
Also, can you get this information if you were to use xp_cmdshell? You could enable/disable that just like the ole automation procs in my earlier script. Or if you want to be really safe, always disable it when you're finished.
Keep us informed.