[英]Is there away to rename a VM in System Centre Virtual Machine Manager 2012 R2?
I have a VM in SCVMM that the VM name no longer reflects the name of the OS. 我在SCVMM中有一个VM,该VM名称不再反映操作系统的名称。 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.
必须重命名OS,现在SCVMM名称中的VM不正确,并且它已变灰,所以我无法重命名。 Is there any Powershelgl cmdlets to rename the VM in SCVMM 2012 R2?
是否有任何Powershelgl cmdlet重命名SCVMM 2012 R2中的VM? Thanks
谢谢
You can use the following to set the name of a Virtual Machine managed by SCVMM 2012 R2: 您可以使用以下设置由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 Cmdlet参考: https ://technet.microsoft.com/zh-cn/library/jj654500( v= sc.20).aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.