Find Disabled Users with OU details


i looking script , can list disabled users in windoes 2003. in addition should provide full path of ou , in user resides, , script should pull out users details phone no , email address ad.

possible have aboce in 1 script. don,t mind 2 scripts....

eg..if disabled user john member of users ou in ms domain , script should give output in csv file as

username               ou path                                     email address         phone    

john             ou=users,dc=ms,dc=com                  john@ms.com        +3221



thnaks in advance effort..

sushil

hello,

check other posting answer:
http://social.technet.microsoft.com/forums/en/winserverds/thread/d780da3f-158c-4b73-a97b-6d13df9e9a71
best regards meinolf weber disclaimer: posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Directory Services



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file