Solved

count AD object via Quest command shell

Posted on 2013-11-07
2
658 Views
Last Modified: 2013-11-07
hi experts
i am using quest command shell, i want to count for example how many user accounts under such OU, what command should i using?

thank you
0
Comment
Question by:beardog1113
2 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 39632794
You can use measure command.. For example.. to find user count of OU  'CN=Users,DC=Domain,DC=com'
Get-QADUser -SearchRoot 'CN=Users,DC=Domain,DC=com' | measure | FL count

Open in new window

0
 

Author Closing Comment

by:beardog1113
ID: 39632797
perfect
thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Are external E-mails being sent to distribution groups? 6 41
PowerShell .lastLogonTimestamp off 11 27
text file manipulation 2 17
Domain users Report or list- URGENT 2 33
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question