Skip to content
Realhe.ro blog

Realhe.ro blog

Not another blog about webdesign, security and IT.

  • Home
  • Gamedev repository (mostly Phaser stuff)
  • Phaser course
    My Phaser course for absolute beginners.
  • Elementary OS
    Tips for Elementary OS users.
  • Projects
    • PHP
      • Smarty gettext with domain support (block t plugin) [depreciated]
      • Active directory support for Yii framework
    • jQuery
      • jQuery advanced filter list plugin
      • Reversed version of cycle2 plugin Scroll Vert
    • Misc
  • Contact
  • Friends
    • iBeat IT – my friend’s blog about Hyper-V and IT
    • Girls Gone Tech – About women in IT world (Polish)

Language Switcher

  • English
  • Polski

Konrad Fedorczyk

1Hi, I'm Konrad!
I spend my time mostly on coding web related stuff. I hope you'll find my articles helpful.

Adrian Ligiewicz

1Work in IT is my dream.
Acquiring engineer title is a matter of time and constant hunger for knowledge only solidifies it.
If you let me prove myself, you will not regret that.

Tag: cmd

How to count computers and users in Active Directory?

How to count computers and users in Active Directory?

This is really quick tip (cmd commands):

dsquery user -limit 10000 | find /c /i "OU="

To count users.

dsquery computer -limit 10000 | find /c /i "OU="

Here you can find how to create paths.

Posted on June 30, 2017Categories Administration, Quick Tip, WindowsTags ad, cmd, windowsLeave a comment on How to count computers and users in Active Directory?
Proudly powered by WordPress