Re: User Reporting
From: Johan Arwidmark (johan.please_respond_to_forum.arwidmark_at_lutteman.se)
Date: 05/01/04
- Next message: Jimmy Andersson [MVP]: "Re: AD Structure"
- Previous message: Cary Shultz [A.D. MVP]: "Re: Reports from AD"
- In reply to: Steve: "User Reporting"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 01 May 2004 12:58:56 +0200
You can use csvde to export to a comma-separated file and then import
to excel
To export all user and computer accounts
csvde -m -f user-and-computer-list.csv -r "(objectClass=user)" -p
Subtree -l samAccountName
To export all only user accounts
csvde -m -f user-list.csv -r
"(&(objectClass=user)(objectCategory=person))" -p Subtree -l
samAccountName
You can limit your search to a specific OU or Domain using -d
Example:
-d "ou=Sales,dc=lcab,dc=net"
regards
Johan Arwidmark
Windows User Group - Nordic
http://www.wug-nordic.net
On Fri, 30 Apr 2004 21:57:07 -0700, "Steve"
<anonymous@discussions.microsoft.com> wrote:
>Is there anything in AD that will allow me to printout or
>export a report of what users are in AD. I know about the
>export on each OU and the whole domain but that gives me
>computers as well. I only want to a specific report that
>only lists users within the domain.
- Next message: Jimmy Andersson [MVP]: "Re: AD Structure"
- Previous message: Cary Shultz [A.D. MVP]: "Re: Reports from AD"
- In reply to: Steve: "User Reporting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|