Showing results for shared folders and mapped drives - Scripting Blog [archived]

Sep 16, 2010
0
0

How to Use PowerShell to Create Shared Folders in Windows 7

ScriptingGuy1
ScriptingGuy1

  Summary: Guest blogger Sean Kearney shows you how to use Windows PowerShell to create shared folders and set permissions on a Windows desktop.   Hey, Scripting Guy! How can I use Windows PowerShell to create shares? -- SK   Hello SK, Microsoft Scripting Guy Ed Wilson here. Wrapping up Guest Blogger Week is Sean Kearney. ...

Scripting Guy!Windows PowerShellguest blogger
Aug 25, 2008
0
0

Hey, Scripting Guy! How Can I Troubleshoot Drive-Mapping Issues?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! We have this problem at work. Users seem to always be losing their mapped drives. It is a real mess, and we spend a couple hours every morning trying to help the users remap their drives. We have more than 160 logon scripts, and it seems that one logon script maps a drive, and then another remaps the drive somewhere else. To ...

Scripting Guy!VBScriptstorage
Mar 4, 2008
0
0

Hey, Scripting Guy! How Can I Map a Drive Based on the Computer’s Subnet?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a CAD staff that occasionally travels between sites. What I would like to do, in a logon script, is map a set of drives based on their current location, that is, their current subnet. I need the script to first check and see if the drives are already mapped; if so then the script should just leave the drives as-is. If n...

Scripting Guy!VBScriptstorage
Dec 8, 2007
0
0

Hey, Scripting Guy! How Can I Map Drives Based on Membership in an Active Directory Group When the User Belongs to Multiple Groups?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In yesterday’s column you showed a sample script that mapped a drive based on membership in an Active Directory group; along the way, you brought up the possibility of a user belonging to more than one group. “Suppose you have two groups,” you said. “What happens if a user is a member of both groups?” You then said, and I quot...

Scripting Guy!VBScriptActive Directory
Dec 7, 2007
0
0

Hey, Scripting Guy! How Can I Map Drives Based on Membership in an Active Directory Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I need to map a drive based on a user’s membership in a particular Active Directory group. However, I have a twist as well: I need to map a different drive depending on whether or not the user is a manager. In other words, I need to map a drive based on both group membership and job title. How do I do that?-- SA Hey, SA. You ...

Scripting Guy!VBScriptActive Directory