|I should have been more thoughtful and at least provided you with a reference. Here's Microsoft's description of the class, complete with example: http://msdn.microsoft.com/en-us/lib...|
You could use VB, but I prefer C#, and it's not too difficult to learn if you have any facility with programming. Personally, I would say that any sysadmin should have the ability to write simple utility programs. I'm constantly amazed by the hoops that I see people jumping through trying to make batch scripts do things that would be trivial in C#.
Good luck with the project.