Share via


PowerShell to rename a Hyper-V VM’s hostname from the Hyper-V host

PowerShell v3 in Windows Server 2012 opens up way more stuff than ever before for automation. I like my VMs to have a host name that matches the name I give the VM in on the Hyper-V host – that way when I write a PowerShell script to build 50 VMs they get useful names and they can all be created from the same VHD image.…

The post PowerShell to rename a Hyper-V VM’s hostname from the Hyper-V host by Simon May first appeared on Devices, Services, Life: Simon May's Blog.