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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
systanConnect With a Mentor Commented:
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
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
joelmerryCommented:
Try SoftPerfect Network Scanner: http://www.softperfect.com/products/networkscanner/

It's free and will give you loads of info.
0
 
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
 
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
All Courses

From novice to tech pro — start learning today.