PowerTip: Use PowerShell to Rename a Virtual Machine

Summary: Use Windows PowerShell to rename a virtual machine on Hyper-V.

Hey, Scripting Guy! Question How can I easily rename a virtual machine running on Hyper-V?

Hey, Scripting Guy! Answer Use the Rename-VM cmdlet:

RENAME-VM -Name "My Old VM Name" -newname "Cool New VM Name"

Comments (0)

Skip to main content