Don't have Telegram yet? Try it now!
https://deploywindows.com/2020/09/14/get-join-information-with-powershell-the-hard-way/
Get join information with PowerShell - the hard way