I finished the first draft of my Domain PC Info program. Unfortunately it uses way too much vbscript. But at the moment, AutoIt doesn't do what I need. I'm not doubting it will in the future though! Ok. Here's what this is. It will display all the machine names in your domain in a listbox, you can click on the machine name and it will tell you the OS, Service Pack, IP address, installation date and the currently logged on user. That's mostly retrieved via VB Script. After displaying that information, it presents you with a list of all of the services on that remote machine. From there you can get the current status of the service, start and stop them. I have plans for more in the future, but this is what I've done in my free time over the last week here at work. I'm also embarassed by my code, but it works and that was my goal for now. It performs very few checks and I'm sure it doesn't work too well on a 95/98/Me machine or on a machine not on a domain, it will eventually.Edit:
Here's an extracted version from the compiled version I had lying around, it contains all of the includes, but at least it's a start. My current version is all mangled up right now, I'm rewriting all of the vb script, removing temp file output, improving existing functions. Don't have much time to work on it though. I've now posted enough that you should be able to get this working.
Edited by archrival, 17 October 2005 - 03:09 PM.