Previous Topic: dpmvc-virtualswitch Command--Manage Virtual Switches (Funclet)Next Topic: dpmvc-wait Command--Time to Wait for a Job (Funclet)


dpmvc-vmtotemplate Command--Convert VM to Template (Funclet)

The dpmvc-vmtotemplate command converts virtual machines to templates. This capability helps you to enforce consistency across multiple servers in the data center.

This command has the following format:

dpmvc-vmtotemplate 
-vm_name vmname 
{-datacenter_name datacentername | -vc vcenterservername}
-vm_name vmname

Specifies the VM.

-datacenter_name datacentername

Specifies the data center where the VM is located.

-vc vcenterservername

Specifies the vCenter Server where the VM is located.

Example: Convert a VM into a Template in a Single vCenter Server Environment

This example converts the VM named convertTest test into a template.

dpmvc-vmtotemplate -datacenter_name VAS/MyCity -vm_name convertTest