To find the hostname of a PC for a Windows 10 machine.
Type cmd into the Windows search box as shown below.
Then, still in the search box, press <Enter>
The search box is usually bottom left of your screen.
You will see a screen similar to the one below.
Type hostname in the CMD windows and press <Enter>
You should see the name of the machine, the example shows "wks029"