How to find the Computer Name from Command line in Windows 10 ?

You can find the computer name of the Windows 10 machine machine using the hostname command. The hostname command prints the NetBios name of the PC instead of the full DNS name.

How to find the Computer Name from Commandline in Windows 10 ?

Below is the hostname command entered in the Windows 10 command prompt to display my laptop name.

C:\Users\senthil>hostname
senthil-lt 
C:\Users\senthil> 


Additionally , you can also use wmic command to find the computer name.

C:\Users\senthil>wmic computersystem  get name
Name
SENTHIL-LT

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...