Ok, I understand the array idea but I have about 150 workstations over 2 sites of a mixed variety that I want to generate an inventory on but do not want to wait until they have all been logged in to use a start-up script. There is also the issue of getting the clients IT department to implement such a change, could take weeks and life is too short for that.
I would like to pass the code the input from say a text list of workstations so that the programme just iterates through the list and that then means I can run it at my convenience.
Regards,
Doug