?
Solved

how to check OS through command line

Posted on 2012-03-13
12
Medium Priority
?
684 Views
Last Modified: 2012-03-28
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?
0
Comment
Question by:sbodnar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +3
12 Comments
 
LVL 14

Expert Comment

by:systan
ID: 37716463
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
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 37716465
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
 
LVL 1

Expert Comment

by:joelmerry
ID: 37716468
Try SoftPerfect Network Scanner: http://www.softperfect.com/products/networkscanner/

It's free and will give you loads of info.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 15

Expert Comment

by:Ess Kay
ID: 37716596
C:\>ver
0
 

Author Comment

by:sbodnar
ID: 37716625
as i stated in my post esskayb2d.." a remote pc.." not local.
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 37716709
WMI is definitely the best option for querying any type of remote information natively within windows.
0
 
LVL 14

Expert Comment

by:systan
ID: 37716723
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
 

Author Comment

by:sbodnar
ID: 37716779
its giving me an access denied... i do not have the adminstrator password
0
 
LVL 14

Expert Comment

by:systan
ID: 37716812
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
 

Author Comment

by:sbodnar
ID: 37716845
well i dont have the password...i just wanted to see what OS the person was running at that IP
0
 
LVL 14

Accepted Solution

by:
systan earned 2000 total points
ID: 37716869
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
 
LVL 39

Expert Comment

by:ChiefIT
ID: 37718138
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

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An article on effective troubleshooting
This program is used to assist in finding and resolving common problems with wireless connections.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question