Script Download:FixEmptyDisplayName.ziphttp://gallery.technet.microsoft.com/scriptcenter/Fix-Empty-DisplayName-1516deef
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 http://aka.ms/onescriptingallery