Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapping drives for multiple groups

Status
Not open for further replies.

acl03

MIS
Jun 13, 2005
1,077
US
Hello,

I've been using a modified version of Mark's logon script for some time.

I realized though, what if a user is in multiple groups, each getting drivemappings specific to that group? Using a CASE statement isn't the best way to go, is it? Am I right in thinking that a case will exit once one returns true?

Should I use separate If statements for each group instead, or does anyone have another recommendation?



Thanks,
Andrew
 
My specific FAQ is here: faq329-5798

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top