# Convert VM to Template

> `UiPath.VMware.Activities.ConvertVMToTemplate`

`UiPath.VMware.Activities.ConvertVMToTemplate`

Converts a specified virtual machine to a template.

## Properties

### Common

* **DisplayName** - The display name of the activity.
* **Timeout (seconds)** - Specifies the amount of time (in seconds) to wait for the activity to complete before an error is thrown. The default value is 30 seconds. This field supports only `Int32` variables.
* **VirtualMachine** - The virtual machine that you want to convert to a template. This field supports only `VirtualMachine` variables.
  :::note
  The **VirtualMachine** parameter provides the following information:
  * **ID** - Specifies the ID of the virtual machine.
  * **Name** - Specifies the name Virtual machine.
  * **Host** - Specifies the host on which the virtual machine is running.
  * **FullPath** - Specifies the full path to the virtual machine, including datacenter and folder hierarchy.
  * **IPAddress** - Specifies the primary IP address assigned to the guest operating system, if known.
  * **DNSName** - Specifies the hostname of the guest operating system, if known.
  * **GuestOS** - Specifies the guest's operating system full name, if known.
  * **GuestOSState** - Specifies the guest's operating system state. Possible values are `Running`, `ShuttingDown`, `Resetting`, `Standby`, `NotRunning`, `Unknown`.
  * **PowerState** - Specifies the virtual machine power state. Possible values are `PoweredOn`, `PoweredOff`, `Suspended`.
  * **VMwareToolsState** - Specifies the current running status of VMware Tools in the guest operating system, if known. Possible values are `NotRunning`, `Running`, `ExecutingScripts`.
  * **VMwareToolsVersionStatus** - Specifies the current version status of VMware Tools. The possible values are **Blacklisted**, **Current**, **NeedUpgrade**, **NotInstalled**, **SupportedNew**, **SupportedOld**, **TooNew**, **TooOld**, **Unmanaged**.
  * **IsTemplate** - Indicates if the input represents a virtual machine template.
  * **Tags** - Specifies the list of tags assigned to the virtual machine or template.
  :::

* **WaitForCompletion** - If selected, the activity waits for the action to complete before moving forward, but no more than the period specified in the **Timeout (seconds)** property. By default, this check box is selected.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **Template** - The template generated from the specified virtual machine. This field supports only `VirtualMachine` variables.
