The script is available for download from https://gallery.technet.microsoft.com//How-to-get-the-Default-382d1f03. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script will get default Mailbox Calendar Permission.
This script is to help Exchange Admins to get default Mailbox Calendar Permission via PowerShell.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery