Solved

assign users home dir nd homedrive path

Posted on 2014-04-29
4
305 Views
Last Modified: 2014-05-01
I have a csv file with users sam accounts I like to take this file and run it thru powershell to assign each sam account the drive letter of H: for home drive, and map their home drive path to be \\servername\home \samacount

Finally I like to search individual OU's for users that don't have a home drive mapping and map it so that all I have to do is add the ou to the script and the script goes thru and adds the users home drive and map it in ADUC
0
Comment
Question by:gd6627
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Scott Thomson
ID: 40031261
if you can see all the users you can click each one holding control and then select properties once you have done this

This will then edit the properties of all the objects you selected.

pretty easy way to do it I say.

I cant help on the second part of your request except to say that if you change the sort fields up the top of AD you can select profile path as an option then you can easily manually look through and edit those in the same manner..?

probably just as fast as the script.
0
 

Author Comment

by:gd6627
ID: 40032886
I need to be able to automate the process instead of manually doing it .
0
 
LVL 10

Accepted Solution

by:
Scott Thomson earned 500 total points
ID: 40032900
It might be harder to automate this task than to do it manually.

If you arrange by home path then it will take you 35 seconds per ou..

Much less than a script.
0
 

Author Closing Comment

by:gd6627
ID: 40034652
Ok Thank you
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question