I want to have a simple script in which a user will map to a Drive (P:)share called IT$ in my file server \\fs2 if a user user is member of a domain group (_IT).

File Server NAme \\FS2.my.com
Domain Group : _IT
Shares to map to if auser is a member : IT$

Can anybody please help. I'm stuglling on this one.
We have now a running kix script did by Nework Admins who is away, I just need code for this so I can insert it in the existing script.


thank you