Rename VM via PowerCLI
After a Get-VIServer -Server vcenter101 , of course.
Get-VM -Name test1 | Set-VM -Name test2 -Confirm:$false
References
Shamelessly ripped from Rename VM via PowerCLI |VMware Communities
Preserving for the future: Shell scripts, AoC, and more
After a Get-VIServer -Server vcenter101 , of course.
Get-VM -Name test1 | Set-VM -Name test2 -Confirm:$false
Shamelessly ripped from Rename VM via PowerCLI |VMware Communities
Comments