List Exchange Users In Powershell with a particular entry for CustomAttribure1


One thing I get asked for on a regular basis particularly by admin staff is how many users we have for a specific customer on our Hosted Exchange Environment. This is important for billing purposes

Now there are quite a few options to do this. For example we can collate a list of users with in a particular Organisational Unit in Active Directory . We can have what ever output we want to a CSV or the terminal itself

A Quick and easy way is, for us we have the Custom Attribute 1 for a Mailbox set to a customer as this will tie in with their Address Book Policy, GAL  etc. So we can execute the following command

The variable ‘COMPANY’  will need to be substituted  with the value you are concerned with for Custom Attribute1

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.