Hi
Thank you for this potentially great tool.
When passing through multiple synced onedrives, either directly or through Out-gridview, only a single instance is handled by the "Remove-ODSyncedItemConfig" command, afterwards the Onedrive Client process restarts.
Get-ODClients | Get-ODSyncedLibraryConfig | select -expandProperty SyncedFolders | Out-GridView -PassThru | Remove-ODSyncedItemConfig.