could you break this:
WriteLine (2, @WKSTA + "," + $WMIManufacturer ...

line.
you can do:
WriteLine (2, @WKSTA + ","
+ $WMIManufacturer

after all + signs and it will not break the script.
it's hard to read now
_________________________
!

download KiXnet