https://dmachinesb.blogspot.com/2022/03/how-to-find-hostname-using-command.html
How To Find Hostname Using Command Prompt