Solved

assign users home dir nd homedrive path

Posted on 2014-04-29
4
298 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
  • 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Resolve DNS query failed errors for Exchange
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 tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

757 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now