Windows Server 2012 R2 Server Core is installed and now its time to change the hostname from the install default. To change the hostname I will issue the following command:

 

You will get the following message once completed:

Certain services, such as the Certificate Authority, rely on a fixed machine name. If any services of this type are running on WIN-BLABLA, then a computer name change would have an adverse impact.

Do you want to proceed (Y or N)?

Once completed the computer will need  to be restarted in order to complete the operation.

To this with the following command: