Rename A Hyper-V Machine Using PowerShell

In this quick article I’ll show you I rename a Virtual machine using the Hyper-V PowerShell module In a single line.

In the below example I will rename my Nano Server VM:

Rename-VM "nano tp5" -NewName NanoTP5 -Verbose -Passthru

Done

Leave a Reply