How to find file servers and exchange servers in AD ?
hi
want find file servers and exchange servers in ad , have no idea.
can advise plz ?
you can use ldap filters utilities adfind , dsquery. ldap filters are:
to find exchange servers in configuration container: (objectcategory=msexchexchangeserver)
to find servers: (&(objectcategory=computer)(operatingsystem=*server*))
to find dc's: (primarygroupid=516)
an example dsquery (searching configuration container):
dsquery * "cn=configuration,dc=mydomain,dc=com" -filter "(objectcategory=msexchexchangeserver)"
or, find servers (computers server operating system, whether dc's or member servers):
dsquery * -filter "(&(objectcategory=computer)(operatingsystem=*server*))"
many more examples , documentation here:
richard mueller - mvp directory services
Windows Server > Directory Services
Comments
Post a Comment