jskfan
asked on
Retrieving OS version with a script
I have computer names listed line by line in a text file (Ftext1).
I need a script that reads the name of the computer from each line of the text file (Ftext1)retrieve the OS version in the network, then dumps the results to another text file(Ftext2) that it creates dynamically with computer name and OS version side by side .
If the computer name read from Ftext1 is not really Windows OS, it can write computer name and "Unknown" word side by side in Ftext2.
Any script or any free tool that can do that?
Thanks
I need a script that reads the name of the computer from each line of the text file (Ftext1)retrieve the OS version in the network, then dumps the results to another text file(Ftext2) that it creates dynamically with computer name and OS version side by side .
If the computer name read from Ftext1 is not really Windows OS, it can write computer name and "Unknown" word side by side in Ftext2.
Any script or any free tool that can do that?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don't have a script , I need one.
the only script that I can think of is yhe command:
Systeminfo /s computername /u username /p password
username needs to be local admin( maybe in the remote computer)
but this is command is very verbose.
I am sure there free tools out there that can do better job.
the only script that I can think of is yhe command:
Systeminfo /s computername /u username /p password
username needs to be local admin( maybe in the remote computer)
but this is command is very verbose.
I am sure there free tools out there that can do better job.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent
ASKER
it is a long list of computer names, and some of them may be not windows OS and some of them maybe just appliances and some maybe are nor not in the network.
so doing this task manually will take forever, this is why I need a script or kind of a discovery tool. I know about Angry IP scanner tool but I am not sure of it can retrieve the OS version.