Solved

assign users home dir nd homedrive path

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
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 …

809 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