[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

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?
0
sbodnar
Asked:
sbodnar
  • 4
  • 3
  • 2
  • +3
1 Solution
 
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
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
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
 
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now