how to check OS through command line

Hey guys,

I have an MPLS line between two seperate networks. What command do I use to see the OS of a specific IP that I am pinging?
sbodnarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

systanCommented:
I found that one:
WMIC /node:RemoteComputerName os get buildnumber,caption,CSDVersion /format:csv

can be used to retrieve information from a remote computer
0
Joseph DalyCommented:
If they are windows systems you can get this using the WMIC command line assuming your not blocking WMI ports with a firewall.

wmic /node:"servername" os get name, version
0
joelmerryCommented:
Try SoftPerfect Network Scanner: http://www.softperfect.com/products/networkscanner/

It's free and will give you loads of info.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Ess KayEntrapenuerCommented:
C:\>ver
0
sbodnarAuthor Commented:
as i stated in my post esskayb2d.." a remote pc.." not local.
0
Joseph DalyCommented:
WMI is definitely the best option for querying any type of remote information natively within windows.
0
systanCommented:
Tested: and it's working, why it's not in you?
WMIC /node:RemoteComputerName os get buildnumber,caption,CSDVersion /format:csv

ex:
wmic /node:myothercomputer os get buildnumber,caption, CSDVersion /format:csv
0
sbodnarAuthor Commented:
its giving me an access denied... i do not have the adminstrator password
0
systanCommented:
if you have the password just add /password
but if you don't have you can't
if it's yours then get the password?
0
sbodnarAuthor Commented:
well i dont have the password...i just wanted to see what OS the person was running at that IP
0
systanCommented:
no you can't do that, since password was adopted by them, then you must go with the password, it would be unfair for Microsoft users if in such things would to that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ChiefITCommented:
systeminfo /s localhost | findstr /B /C:"OS Name" /C:"OS Version"

OS Name:                   Microsoft Windows 7 Home Premium
OS Version:                6.1.7601 Service Pack 1 Build 7601

C:\Users\Chiefit>
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.