so what you are saying Glenn is
i can have my foreach loop with the array list of PC names
and put variable names in place of hostname and keep the taskname the same.?


this is what i want to do; i have this setup.exe program that uses a /s switch for default install; there is no msi file for it.
and I dont want to use a zap file and have employees choose to install.
i leave the workstations on at night my script copies a new setup.exe
file to a folder called C:\Add\scripts and in there i have a install.cmd
i put in the local pc job schedular and run as Domain Admin on a schedule time period andthen it changes permission on some folders using CACLS command. i do this cause 3rd party msi installer packages i think are flacky
so i use batch commands and some kix and job schedualar and it works slick
but i want it to disable the install.job after it sets permissions with CACLS command.but i dont know how. so i can use this tcl library liek i say above?
just loop it and how do put a var in place of hostname? so i can run through each pc; i am goingto use my foreach arry filler loop like i had startedout with? GPO installer program are sweet and easy in GPO
but hard to find a full version one that really works and wil stay working when patches and updates are applied. you know. so i do it simple;
my motto is use whatyou got! once i have it setup it works great!
what you think?
_________________________
Robert
A+, CCNA, MCP
Network Admin
Credit Union Wisconsin