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
Tech Tips for Azure, OpenAI, & More NTWeekly.COM
Navigate the Cloud, Master the Code