How to change & verify hostname in windows server 2012 (AWS EC2)
问题 I am using Windows Server 2012-R2 (amazon ec2) machine. and I want to change and verify hostname in it. I checked on net and found hostname command. But when I run hostname or hostname -i command I get following error.. sethostname: Use the Network Control Panel Applet to set hostname. hostname -s is not supported. I further googled this problem and apparently this command is not usable on windows 2012-r2 servers. Is there any alternative or workaround command that can do the job for me?? 回答1