Exchange DSQUERY …. errr Query

Home Forums Scripting General Scripting Exchange DSQUERY …. errr Query

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    Hi All,

    I’m trying to use DSQUERY to return a list of users from a mailbox store and I’m having a little difficulty getting it to return any data, this is what I’ve managed so far with the assistance of Google, it seems to execute but returns no detail and no error:

    dsquery * dc=domain,dc=com -filter “(&(objectclass=user) (object category=person)(homemdb=CN=Mailbox Store (ServerName),CN=First Storage Group,CN=InformationStore,CN=ServerName,CN=Server,CN=AdministrativeGroupName,CN=Administrative Groups,CN=OrganisationName (Exchange),CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com))” -attr displayname

    I’m sitting locally at the exchange server as the Exchange adminstrator

    Any assistance much appreciated

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.