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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding User Path

Status
Not open for further replies.

CORT1

MIS
Sep 4, 2002
12
0
0
US
I am writing a script that will disable user accounts after a certain period. I have the user name but I do not know which container they are in in the Active Directory. I have a script that will give me user paths but it will give it to me for the whole OU or Domain. Could anyone help please.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top