Hello stukey,
Here is another example, a script that we have recently used.
$norusrs = ipcsv "C:\migration\work-3\User4.csv"
 
$norusrs | ForEach-Object -Parallel {
$parconn = try { Get-Mailbox email address removed for privacy reasons -ErrorAction SilentlyContinue } catch {}
         if ($parconn -eq $null) {
          Import-Module -Name ExchangeOnlineManagement -NoClobber
          Write-Host "Connecting in parallel loop"
          Connect-ExchangeOnline -UserPrincipalName email address removed for privacy reasons `
          -ConnectionUri https://outlook.office365.com/powershell?email=email address removed for privacy reasons `
          -ShowBanner:$false -SkipLoadingCmdletHelp:$true `
          -CommandName Get-Mailbox,Set-MailboxFolderPermission
          }
          else {}
          Set-MailboxFolderPermission -Identity ($_.identity+':\calendar') -User default -AccessRights "limiteddetails"
Write-host "Calendar permission set for "$_.identity
  } -ThrottleLimit 5
Soon we will be posting more examples.
Do let us know if you have any further queries or concerns.
Regards,
Indraneel Roy