Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active Directory search

Status
Not open for further replies.

bryanblc

IS-IT--Management
Mar 24, 2003
109
US
Is there a way to search Active Directory for the user profile\Profile path?

Thanks.
 
yes, you may script it, or using some tools, like dsmod....

here is sample code from ms to configure user profile propeties

Set objUser = GetObject _
("LDAP://cn=Myerken,ou=Management,dc=NA,dc=fabrikam,dc=com")

objUser.Put "profilePath", "\\sea-dc-01\Profiles\myerken"
objUser.Put "scriptPath", "logon.bat"
objUser.Put "homeDirectory", "\\sea-dc-01\HomeFolders\myerken"
objUser.Put "homeDrive", "H"

objUser.SetInfo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top