How to get hostname in cmd searching

Top keyword related from Search Engine of how to get hostname in cmd