How to get machine hostname searching

Top keyword related from Search Engine of how to get machine hostname