VMware Cloud Community
arbelac
Contributor
Contributor

How can I specify a specific ESXi server when converting the corresponding template to a virtual ser

Hi there,

How can I specify a specific ESXi server when converting the corresponding template to a virtual server?

command :

Set-Template -Template W2K12Template -ToVM -Confirm:$false -RunAsync

My environment : 3 Cluster inside single VCenter

CMP-Linux

     - 192.168.2.2

      - 192.168.2.3

CMP-Windows

     - 192.168.3.2

      - 192.168.3.3

CMP-DMZ

     - 192.168.4.2

      - 192.168.4.3

0 Kudos
4 Replies
LucD
Leadership
Leadership

You can't.
You can move the VM after the conversion.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
arbelac
Contributor
Contributor

ok , I will use a command like below . Am I correct?

Get-VM W2K12Template | Move-VM -Destination (Get-Vmhost "192.168.3.3")

Also , What criteria does it choose when converting the server into a virtual server?

0 Kudos
LucD
Leadership
Leadership

Yes, those cmdlets.

Not sure what you mean by "converting the server into a virtual server".
Are you doing a P2V?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

arbelac
Contributor
Contributor

thanks Lucd btw you can ignore another my question.

0 Kudos