We are trying to deploy software, either 32 bit or 64 bit, depending on the version of Windows. However, there are around 150 PC's and we just wanted to know whether we have Windows XP or Windows7 on these PC's.
Is there a way I can run a batch file or VB script on our Domain Controller to obtain this information? I can see that in AD, if I right click on the computer properties and select the Operating System tab that this information is available, but is there a way we could extract that information with a script and associate that OS to the computer name?
The controller is a Windows 2003 version.
Thanks for helping