简体   繁体   English

是否可以在System Center Virtual Machine Manager 2012 R2中重命名VM?

[英]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.

相关问题 无法连接Hyper-V管理器(在Windows Server 2012 R2上)和Hyper-V Server 2012 R2 - Can't connect Hyper-V Manager (on Windows Server 2012 R2) and Hyper-V Server 2012 R2 在 System Center Virtual Machine Manager 上执行 powershell 代码时出错 - Error while execution powershell code on System Center Virtual Machine Manager 如何在Powershell脚本中将MS Web Deploy安装到Azure Windows Server 2012 R2 VM? - How do I install MS Web Deploy to an Azure Windows Server 2012 R2 VM in a powershell script? Windows 2012 R2 cmdlet 不在 Windows 2012 R2 上运行 - windows 2012 R2 cmdlet not running on windows 2012 R2 无法从远程计算机在Windows Server 2012 R2中执行DSC文件 - Unable to execute DSC file i n Windows server 2012 R2 from remote machine 尝试通过WMI通过Powershell调用V2名称空间来创建Hyper-V 2012 R2 * Generation 2 * VM - Trying to create a Hyper-V 2012 R2 *Generation 2* VM via WMI calls to the the V2 namepace via Powershell Windows Server 2012 R2 - 错误:服务器管理器正在收集清单数据。 数据收集完成后,向导将可用 - Windows Server 2012 R2 - Error: Server Manager is collecting inventory data. The wizard will be available after data collection finishes Windows 2012 R2中的Powershell 5.1 - Powershell 5.1 in Windows 2012 R2 SCCM 2012 R2删除-CMDevice - SCCM 2012 R2 Remove-CMDevice Server 2012 R2缺少PSReadline cmdlet? - Server 2012 R2 missing PSReadline cmdlets?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM