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.
Windows hostname window

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"

Windows hostname window
Fujitsu Partner Logo
Sophos Silver Partner Logo
Draytek AVP Logo
Avast Logo
Microsoft Logo