This script is used to fix empty displayname attribute for on-premises mail-enabled groups
This script verifies displayName attribute for mail-enabled groups. This script enables you to export mail-enabled groups that have empty display name. After correcting the display name of these groups, you can use this script to import them to your on-premises Active Directory.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery