Consider domain of all windows based computers. from these computers i want to detect only windows server 2003 computers.
I have all machine names of all machines in domain. then how to determine OS version from machine name. I have used Environment.OSVersion to get os version of local computer. How can i obtain OS version of remote computer if i know remote computer name ?
You can use WMI (Windows Management Instrumentation) to access the remote computer’s
Win32_OperatingSystem class instance.
For details on the properties and what values are available, see the MSDN pages for the Win32_OperatingSystem class.