Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
View the fully qualified domain name of a machine from the command line.
February 23, 2017
Q. How can I view the fully qualified domain name of my machine from a cmd prompt?
A. There are numerous methods and would love to see suggestions in the comments but an easy way I have found is the following:
C:>echo %COMPUTERNAME%.%USERDNSDOMAIN%
JOHNPC.SAVILLTECH.NET
You May Also Like