Is there away to rename a VM in System Centre Virtual Machine Manager 2012 R2?
6,438
You can use the following to set the name of a Virtual Machine managed by SCVMM 2012 R2:
Get-SCVirtualMachine -Name "VM03" | Set-SCVirtualMachine -Name "VM04"
Cmdlet reference: https://technet.microsoft.com/en-us/library/jj654500(v=sc.20).aspx
Related videos on Youtube
Author by
Paul S.
Updated on September 18, 2022Comments
-
Paul S. over 1 year
I have a VM in SCVMM that the VM name no longer reflects the name of the OS. OS had to be renamed, and now the VM in SCVMM name is incorrect, and it's greyed out so I can't rename it. Is there any Powershell cmdlets to rename the VM in SCVMM 2012 R2? Thanks
-
Dan about 9 yearsyou need to power it down, first. It won't rename the VM folder on the disk for you.
-
-
Paul S. about 9 yearsThanks for the cmdlet. Looks like you still have to power off the VM, to rename it, which I was hoping I didn't have to do.