In order to push a recent patch from Microsoft I need to determine what OS a workstation is running within a logon type script prior to running the patch. What is the cmd line to determine what OS the box is running? From there I can do a If Then... Any Help is appreciated.