Don't have Telegram yet? Try it now!
https://sharepointtechnicalsupport.com/get-template-id-sharepoint-site-with-powershell/
Get template id sharepoint site with powershell