I cannot figure out how to write a script to map multiple network drives to a group.
John Doe and Gail Smith are in the Sales Group in AD so when they log in I want these drives mapped
"\\servername\SALES\Reports "W:", -
"\\servername\SALES\Orders "V:", -
"\\servername\SALES\Clients "L:", -
"\\servername\SALES\Contracts "Y:", -
Now here's the catch when;
Caleb Doe and Kim Smith log in, I want another set of drives mapped for them becasue they are in the TECHS Group in AD
"\\servername\TECHS\Schedules "W:", -
"\\servername\TECHS\Inventory "V:", -
"\\servername\TECHS\Databases "L:", -
"\\servername\TECHS\Documentation "Y:", -
and so on, the plus is that all these file shares are located on the same server.
Is this even possible to do.