Question Locked

Exporting Active Directory Users and conatiner in which they are located?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to export a list disabled users from Acitve Directory, which in itself isn't complicated, but my problem is I also need to export the path (container) in which the user is located. I can get this list from the set of common queries by adding the published at cloumn, but that isn't exportable. Anyone have any ideas on how I might accomplish this?

Thanks in advance.

4 replies

by cg it

AD users are in the default AD users OU unless you created another OUs in which to place them in. If that, you should have already documented the OU and who would be in it.

by cliff680

We have somewhere in the neighborhood of 4500 users and multiple people who disable users in their particular OU's, which are in more than the users container. I want to generate a list of disabled users which I can export into excel which contains what container path the user is in. for example: domian.com\users\office\department\sales

This discussion is closed to new replies.