How to Batch Rename Virtual Machines in Windows Server 2012

In Windows 8, without a Start button, properly shutting down or rebooting Windows can be a bit of a chore. Many users want to shut down or reboot Windows in just one click. This video illustrates the script to enable users to click on a tile to shut down, reboot or log off Windows on the Start screen.
______________
Experience Microsoft's latest products with free downloads of Windows Server 2012, Hyper-V Server, Windows Azure, and System Center 2012.Get the best virtualization platform that offers simplified administration, flexible storage, and dynamic resource allocation for free. FREE Download
Windows Server 2012 offers a complete virtualization platform, providing increased scalability and performance with an elastic and flexible solution from the datacenter to the cloud. FREE Download
Try Windows Azure for free with no cost or obligations, and use any OS, language, database or tool. FREE Download
Download all System Center 2012 components in one convenient package as part of the Microsoft private cloud evaluation. FREE Download
Script sample download: http://gallery.technet.microsoft.com/scriptcenter/Create-a-ShutdownRestartLog-37c8111d
A comment for standard users:
To run the script, the suitable execution policy is needed. Standard is usually "restricted", which does not allow to start scripts.
to change it, use this command:
Set-ExecutionPolicy unrestricted
after executing the script set execution policy back to "restricted":
Set-ExecutionPolicy restricted
Here you can find more information:
https://technet.microsoft.com/de-de/library/dd347641
Great feedback! Thank you Meyex!