Help creating a new group in all OUs containting OUname+variable




Hi,

I was hoping someone could give me some advice on a script. I need to
create a group in every OU starting at a base OU. For example: I've got
OU=sales, OU=New York. In the OU sales, I want to create a security
group called sales-homedir and then have the script continue to the
next OU. It would be nice if it would also put all the users in that OU
into the group.

I'm a little new to creating such a script, so any assistance would be
great.

TIA

Simon



--
zlynt
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

.