views:

47

answers:

1

I want to know if exists a scriplet to know the local SERVER CNAME, or via CMD, regedit, etc

+1  A: 

The hostname program/command should give you the DNS name of the local machine, whereas the shell command echo %COMPUTERNAME% should show you the NetBIOS name (which might be different).

ewall