In summary, Microsoft announced in July 2022 that they would stop the automatic provisioning of a wiki tab for new Teams channels and in January 2023, they announced the retirement of the Teams wiki app in February 2023. OneNote will be the replacement app and Microsoft plans to release an app to migrate wiki content to OneNote notebooks stored in SharePoint Online. The migration app is set to roll out in mid-February, and eventually, Microsoft plans to remove the wiki app and tab from Teams altogether.
Article from Tony Redmond about this Topic
https://office365itpros.com/2023/01/24/teams-wiki-report/
PowerShell on GitHub
Office365itpros/FindTeamChannelsWithWiki.PS1 at master · 12Knocksinna/Office365itpros · GitHub