CmdID

CmdID / PowerShell / Cmdlets / Remove

Remove-UnifiedGroupLinks

Use the Remove-UnifiedGroupLinks cmdlet to remove members, owners, and subscribers from Microsoft 365 Groups in your cloud-based organization. Exchange PowerShell reference

From the Exchange PowerShell reference 5 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

5 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the Microsoft 365 Group that you want to modify.
-LinksThe Links parameter specifies the recipients to remove from the Microsoft 365 Group.
-LinkTypeThe LinkType parameter specifies the recipient's role in the Microsoft 365 Group that you want to remove.
-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.