Use PSEXEC to get OS Version of Remote machine
Posted on 2009-05-05
I recently asked a question regarding how to login (programatically) to a remote machine and find out the remote machine's OS version. 'arnold' had replied. But then we had decided we didn't need it. Anyway now, I have been asked to use "psexec' to retrieve the OS version of a bunch of remote machines which in my program will be in an arraylist. My program is a console application in VB.Net.
I have never done anything like this. I need help from someone who can show me how to read from an arraylist of computer names, use 'psexec' to login to the remote machine and run a command that would return the OS Version of that machine. I would really appreciate it.