Multiple network sharing folder to be mapped on single drive ( eg. G: ) Share on Facebook Post on reddit Tweet on Twitter Share on LinkedIn Home › Forums › Scripting › General Scripting › Multiple network sharing folder to be mapped on single drive ( eg. G: ) This topic contains 1 reply, has 2 voices, and was last updated by Ossian 4 years, 7 months ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts kunalrautMember April 2, 2015 at 12:42 pm #165127 I need to know a vb script or command line or powershell command to mapped multiple network share folder with an option to select the folder as per membership or department wise on drive letter ( G: ) Regards Kunal OssianModerator April 2, 2015 at 12:53 pm #190475 Re: Multiple network sharing folder to be mapped on single drive ( eg. G: ) You mean “If user is in Marketing, map G: to [URL=”file://\servermarketing”]\servermarketing[/URL], if in accounts, map G: to \serveraccounts” IMHO, if you are using 2008 DCs, use Group Policy Preferences and item level targeting. If you do not have GPPs available, use OU level logon scripts. If (and only if) you absolutely need a single script, look at CMD IF: https://www.google.co.uk/search?q=if+condition+in+cmd+script&sourceid=ie7&rls=com.microsoft:en-GB:IE-SearchBox&ie=&oe=&gfe_rd=cr&ei=V48dVafBMqTj8weigoHQCA&gws_rd=ssl Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.