Tuesday, January 5, 2016

Count all computer accounts in Active Directory

I needed to quickly get a count of how many computer objects:

Import-Module ActiveDirectory
Get-Adcomputer -Filter * | Measure-Object


gave me the info I was looking for!

No comments:

Post a Comment