Export Sites from AD sites and services:
adfind -config -f "(objectClass=site)" -dn
Export sites and associated subnets:
adfind -config -f "(objectClass=subnet)" distinguishedname siteobject
Show user which have certificates:
adfind -tdc -default -f "(&(objectCategory=person)(objectClass=user)(userCertificate=*))" -dsq
Show users whch don't have certificates:
adfind -tdc -default -f "(&(objectCategory=person)(objectClass=user)(userCertificate=*))" -dsq
Show users whch don't have certificates:
adfind -tdc -default -f "(&(objectCategory=person)(objectClass=user)(!userCertificate=*))" -dsq Show useful informations about users:
adfind -tdc -default -f "(&(objectCategory=person)(objectClass=user))"
The output of the command above is shown in the above picture.
1 comment:
Hey, nice post - thanks. Indeed, a plan and sticking to it is so important and can be so helpful.
By the way, I run a blog on Free Active Directory Tools, so if you're into helpful AD tools, please feel free to stop by!
Ciao,
Marc
Post a Comment