erikhertzel
MIS
All,
We have Windows Server 2003 AD and use login scripts to map drives (traditional batch files).
I want to map a drive for users that fall in a certain group on the AD, otherwise, it does not map if they are not a member of this group.
For example:
User Adam is a member of Group AA
If Adam is a member of AA then
map drive L: to this \\server\share
else
don't map it
How do I write this in a bat script?
Thanks,
We have Windows Server 2003 AD and use login scripts to map drives (traditional batch files).
I want to map a drive for users that fall in a certain group on the AD, otherwise, it does not map if they are not a member of this group.
For example:
User Adam is a member of Group AA
If Adam is a member of AA then
map drive L: to this \\server\share
else
don't map it
How do I write this in a bat script?
Thanks,