You can adjust the query to return only what you need. Let me ask some questions...
  • Why do you need the information?
  • Do you need to collect this information from individual users, all users, or a specific group of users?
  • Does it have to run in the logon script or as an admin script?
  • Finally (for now), what specific information do you want returned? (I assumed the info from the first post; Office (which is physicalDeliveryOfficeName in LDAP), and Location (same in LDAP)?