Ok first of all I’m new with Kixtart so bare with me.

This is my scenario.
I have to deploy Java runtime environment to a lot of computers.
We are running an old NT domain (no AD) with Kixtart logon scripts.

The computers that I have to deploy the JRE to, all have names looking like this

Department001

I have got a list with all the computer names that need JRE installed.

So I’m thinking of writing a script that works like this:



Sort the department name and number into two variables

If the department variable is equal to the right department call the JRE Deploy script

JRE Deploy script:

Check if JRE is installed, if not installed

Check if number variable is in the list of numbers if it is

Install JRE then remove the number in number variable from the list of numbers



What I need help with is

How will I sort the department name and number into two different variables?

How will I search the list of numbers, and removing a number from the list?



Please fell free to comment on this, any suggestions is appreciated.