Also check out psinfo from the same maker of psexec and part of the pstools suite. It will give you OS version plus other info.
Main Topics
Browse All TopicsI 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.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
veedar has a good suggestion to use psinfo.exe. If you want a more integrated solution, you might want to look into WMI (Windows Management Instrumentation) with .NET.
WMI is easier to use with VBScript I think, but it will work with .NET, C#, and VB.NET. You just need to do some research on using WMI with .NET.
Here's a reference on using WMI to get OS info in VBScript. The API calls for the .NET equivalent would be similar, though syntax would be slightly different.
http://www.computerperform
veedar, daluu: Since I don't know WMI, I did it using a .Net Console application. Opened a DOS prompt from the program and ran the PSINFO, then parsed the results. Thanks. Also, please see if you can help me with my new Question that I just opened:
http://www.experts-exchang
Business Accounts
Answer for Membership
by: msyed1Posted on 2009-05-05 at 14:01:16ID: 24309135
This was the question I had asked earlier: e.com/Prog ramming/La nguages/ Q_ 24366041.h tml
http://www.experts-exchang