CmdID / PowerShell / Cmdlets / Add
Add-UnifiedGroupLinks
Use the Add-UnifiedGroupLinks cmdlet to add members, owners and subscribers to Microsoft 365 Groups in your cloud-based organization. Exchange PowerShell reference
From the Exchange PowerShell reference 5 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the Microsoft 365 Group that you want to modify.-LinksThe Links parameter specifies the recipients to add to the Microsoft 365 Group.-LinkTypeThe LinkType parameter specifies the recipient's role in the Microsoft 365 Group that you want to add.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.