• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

Number of users in all domains

Dear All,

I have 6 domain (one Parent and 5 child). How can I know the number of users per domain? Does there a command line which can help me on this?

Thanks
0
Arabsoft-ACS
Asked:
Arabsoft-ACS
  • 2
  • 2
  • 2
1 Solution
 
farazhkhanCommented:
Hi,

Use this command: NET USERS /DOMAIN >USERS.TXT

also check this for further information: http://www.petri.co.il/list_all_users_and_groups_in_domain.htm

Regards,
Faraz H. Khan
0
 
Mike KlineCommented:
I really like Joe Richard's adfind tool for this because he has a -c switch (for count)
http://www.joeware.net/freetools/tools/adfind/index.htm
you can run this in each domain
adfind -default -f "&(objectcategory=person)(objectclass=user)"  -c
 if you want to search the gc for all domains use
adfind -gc -f "&(objectcategory=person)(objectclass=user)"  -c
Thanks
Mike
0
 
Arabsoft-ACSAuthor Commented:
I try the commad, it's give me:


C:\Program Files\Support Tools>adfind -default -f "&(objectcategory=person)(obje
ctclass=user)"  -c
'adfind' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\Support Tools>


0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
Mike KlineCommented:
did you download adfind from joe's site?
Thanks
Mike
0
 
Arabsoft-ACSAuthor Commented:
It's work

but how i can run it for another domain.

I have 6 doamin (Parent and 5 child)
0
 
farazhkhanCommented:
Hi,

Run the same file which works in each domain!

Regards,
Faraz H. Khan
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now