After you install Certificate Services, Windows doesn't let you change the name of the machine. Here's how you can overcome this restriction.
John Savill's PowerShell Master Class
Join John Savill for 9 hours of comprehensive PowerShell training. This course will start from the ground up, walking through the basics of PowerShell, how to create basic scripts, and building toward creating custom modules to achieve amazing results in your environment, in non-Microsoft environments, and in Azure.