Do you have nested groups within Exchange resources such as distribution groups, shared mailboxes, rooms or equipment?
If you have, you have come to the right place. I have created a script that extracts all nested group members of a resource, and add it directly to the resource instead.
The script works in both on-premise and Exchange Online.
Before you can run the script, you need to have access to the following:
- Access to on-premise and/or Office 365 environment as a administrator.
- Have the AzureAD and Active Directory PowerShell module installed.