Get the OS information if server 2003 then run the script
I have a .bat script that I created yesterday. I now need to find the OS name or a remote server and if its server 2003 64bit = true then run test.bat
Is there an easy way to do this? 

Heres the script I want to run:
     
     psexec -u domain\user -p password \\@serverlist -s -i -d msiexec.exe /i "\\share\folder\Avmr64.msi" /qb

Get the OS information if server 2003 then run the script
===

I have a .bat script that I created yesterday. I now need to find the OS name or a remote server and if its server 2003 64bit = true then run test.bat
Is there an easy way to do this? 

Heres the script I want to run:
     
     psexec -u domain\user -p password \\@serverlist -s -i -d msiexec.exe /i "\\share\folder\Avmr64.msi" /qb
