Announcement

Collapse
No announcement yet.

Multiple network sharing folder to be mapped on single drive ( eg. G: )

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple network sharing folder to be mapped on single drive ( eg. G: )

    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

  • #2
    Re: Multiple network sharing folder to be mapped on single drive ( eg. G: )

    You mean "If user is in Marketing, map G: to \\server\marketing, if in accounts, map G: to \\server\accounts"

    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...QCA&gws_rd=ssl
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment

    Working...
    X