How do i get a Kixtart scrip to determine an OS?
Posted on 2009-06-29
Hey, im very new to kixtart and was wondering, if there is there anyway i can get my kixtart login script to check what version of windows the pc is running, or check its role and then carry on or quit thr script based on the answer?
I have a kixtart login script and i need it to only run on PCs with windows xp, vista or 7 (eventually) on. and NOT to run on 2003 or 2008.
Basically it needs to run on workstations but not servers so idealy i would like the script to quit before it does anything if its run because a user is logging onto a server.
i know the @PRODUCTTYPE macro can help with this, but i dont know how to impliment it to do what i need it to do. Any help is greatly appreciated.