How can I determine the OS of a remote computer, given its computer name?
|
|
You can use This is not 100% accurate, but probably the best you can do in the general case. If you're limiting yourself to Windows only and you have credentials of an administrator account on the remote machine, you can use this method instead.
And further to this, if your computers are joined to a domain then you can look at the computer accounts in Active Directory. These should tell you about the machine. |
|||||||||||||
|
|
Given then information you have given, the answer is you can not determine a machine's OS by its name. |
|||||||||||||
|
|
Systeminfo command shows os name and service pack number. you can run this command on the remote computer using psexec. Source: http://www.windows-commandline.com/2009/01/find-windows-os-version-from-command.html |
|||
|
|
|
You can do this with Windows PowerShell, which is installed by default in Windows 7. You can get to it from the system menu, under Accessories. The command that you can use is...
You can run this against a local or remote system by specifying the correct value for the ComputerName property. You can filter the output for specific info by specifying which properties to display...
|
|||||
|
*you can supply alternative credentials as well.
|
|||
|
|
|
Using cmd (Command prompt in windows Vista, XP, etc)
eg:
|
||||
|
|
|
A non-comprehensive solution was to simply open the C drive of the remote computer in Windows Explorer. The presence of Documents and Settings showed it to be WinXP, as we have no Win2K. |
|||