Select Page

Get exchange group manager

Get exchange group manager

Get exchange group manager

One of the most requested feature or information is the ability to get exchange group manager. This becomes handy when you want to make sure every distribution group has a manager.

When you do distribution group cleanup, or migration to Office 365 groups, you want first to list your groups, and then question if this group is still valid or in use. Of course, you cannot do this decision yourself, and you start questioning who is the owner or manager of each group. Get exchange group manager script will help you quickly identify the manager of each distribution group, so you can easily have an idea of the group owner.

Another scenario is a cleanup job. Some people resign from your company, and perhaps they are assigned as group owners in many distribution groups. When they leave the company, groups they manage become suddenly without an owner. Get exchange group manager script will help you quickly identify groups without owner.

Finally, you do not want to manage the membership of all your distribution groups. Assigning a manager for each group would make more sense. To start the exercise of identifying group managers and delegating membership modification to them, you need this script to identify who manages what initially.

Script parameters

The script is simple, just run it from Exchange management shell, and give it the following parameters:

  1. File [required]: the csv file name and path to save the output csv.
  2. OU [optional]: used to narrow the scope of the script to a certain OU.

You can download the script from Microsoft TechNet Gallery.

Script examples

Get managers of all groups and export results to c:\files.csv.

Get managers of all groups under the specified OU.

Download the script

You can find the script from Microsoft TechNet Gallery

 

Exchange Group Manager 4

About The Author

Ammar Hasayen

Ammar is a digital transformer, cloud architect, public speaker and blogger.
He is considered a trusted advisory with the ability to quickly navigate complex multi-cultural organizations and continuously improve and motivate cross-functional teams to achieve higher productivity, collaboration, revenue gain and cross-group knowledge sharing.

His contributions to the tech community helped him get awarded the Microsoft Most Valuable Professional.

Ammar appears in a lot of global conferences, and he has many publications about digital transformation and next generation technologies.

2 Comments

  1. EddieQu

    Ammar,

    Thank you for you help on this. I need something that will only get the DLs owned by a list of usersname i’ve got in a CSV file. If it would make things easier, I have the OU path for the each user.

    Not sure if it helps but we’re running Exchange 10.

    Reply
    • ammar hasayen

      Well I need unique values so if you have samaccountnames in a list, this could help,else, tell me and will do my best 🙂

      Reply

Leave a reply

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

Ammar_Hasayen_MVP_1

About Ammar

Digital Transformation | Microsoft MVP | Cloud Architect | Azure | Microsoft 365 |Modern Workplace | Cyber-Security | Blockchain | Speaker | Blogger | IT Director @ Aramex| Jordan | http://me.ahasayen.com

Recent Posts

Pin It on Pinterest