Query users

Query a user i.e. ‘Admin’. From the command prompt:

dsquery user -name *admin*

Result:
“CN=Administrator,CN=Users,DC=microsoft,DC=co,DC=uk”
“CN=ScomAdmin,CN=Users,DC=microsoft,DC=co,DC=uk”

Leave a Reply

Your email address will not be published. Required fields are marked *