powershell - How to determinate a CNAME on Windows? via Poweshell or others -


i want know if exists scriplet know local server cname, or via cmd, regedit, etc

the hostname program/command should give dns name of local machine, whereas shell command echo %computername% should show netbios name (which might different).


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -