I am creating a script to log a few network drives. I have one drive that all the Database users get. All the groups for Database users begin with "COO_DB_"
Is there a wildcard I can use for all groups that begin with COO_DB_ to get this drive mapped or would I have to list all of the groups? Here's the code with about 50 other groups cut out for brevity.
======================
Case "COO_DB_AP_Administration, COO_DB_AP_Airport, COO_DB_Auditor, COO_DB_BLD_Administration, COO_DB_BLD_Building"
objNetwork.MapNetworkDrive "X:", "\\server\drive\City_Databases"
======================
I guess I could create a group and nest all the database groups in one and just put that in place of the others ...
Thoughts?
I appreciate your time!
Tommy
Is there a wildcard I can use for all groups that begin with COO_DB_ to get this drive mapped or would I have to list all of the groups? Here's the code with about 50 other groups cut out for brevity.
======================
Case "COO_DB_AP_Administration, COO_DB_AP_Airport, COO_DB_Auditor, COO_DB_BLD_Administration, COO_DB_BLD_Building"
objNetwork.MapNetworkDrive "X:", "\\server\drive\City_Databases"
======================
I guess I could create a group and nest all the database groups in one and just put that in place of the others ...
Thoughts?
I appreciate your time!
Tommy