O365 Group Display Name change with Powershell


I have UTF8 based sheets so I don’t know why group names got created with garbled chars i/o the normal latin chars (user names where created ok).

Any way, I have a huge amount of groups with garbled chars in their name so I need to have a powershell script that allows me to search a string within all group names in a tenant and substitute it with another string.


SUBSTITUTE “10� 6, Espanhol (inicia��o)” BY “10º 6, Espanhol (Iniciação)”

Any help?