We want to limit students to have one homeshare and one mapped drive to the class that they will be working on when logged in. Just to restrict the user/student. They will have to choose a class every time they log in. This wasn't my idea, but my boss wants it this way.
Example:
BeginningKeyboarding is a AD Group,
\\Server\BeginningKeyboarding is a share (same name as AD group). What I would like to do is have BeginningKeyboarding a menu selection and then have a mapping statement like:
use v: \\Server\$classselection
instead of creating 50 if statements for each class (like if $selectedclass = 3 then use v: \\server\begkey).
Sorry if I am not explaining this very well. I thought about creating an array like:
$classarray = BegKey CompSci InfoSys ect....
and then splitting them by " ", but I'm not sure if that's what I'm looking for or not.... Any help is greatly appreciated along with comments for the code so I can learn with it instead of just copying and pasting.... Thanks!

Ben