title: How to change & verify hostname in windows server 2012 (AWS EC2)
body: <p>I am using Windows Server 2012-R2 (amazon ec2) machine.</p>
  <p>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..</p>
  <blockquote>
  <p>sethostname: Use the Network Control Panel Applet to set hostname.</p>
  <p>hostname -s is not supported.</p>
  </blockquote>
  <p>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??</p>