The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.
This script will create a new distribution group with an existing group's setting.
This script is to help Exchange Administrators to create a distribution group which has the same configuration of an existing group. Also, the new group can be a different group type. And, this script can get two groups to a same setting.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery