Start VM Activity

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Service Manager, System Center 2012 R2 Service Manager, System Center 2012 - Service Manager

This activity in System Center 2012 – Service Manager starts a stopped or paused virtual machine.

Design Time Prerequisites

None.

Run Time Prerequisites

None.

Properties

The Start VM activity uses the input properties in the following table.

Display name Internal name Type Required Description
Continue On Error ContinueOnError Boolean No. (The default setting is True.) Determines whether the workflow should continue running if the activity fails.
Has Error HasError N/A Specifies whether the activity has an error set. (Read-only)
Job Variable JobVariable String No Specifies that job progress is tracked and stored in the variable that is named by this parameter.
Management Group ManagementGroup String No The management group in which this activity will run. Set to localhost. (Read-only)
PROTipID PROTipID Guid No Specifies the ID of the Performance and Resource Optimization (PRO) tip that triggered this action. Allows for future auditing of PRO tips.
Run Asynchronously RunAsynchronously Boolean No. (The default setting is False.) Specifies that the job runs asynchronously so that control returns to the command shell immediately.
Script Server Target String Yes Specifies the Domain Name System (DNS) name of the server that runs the Service Manager console. Do not use localhost.
Script Time Limit TimeoutSeconds Integer No. (The default setting is 300 seconds.) Specifies the maximum number of seconds to allow for the activity to run.
VM ID VMID String Yes Specifies the unique ID of the virtual machine to be started.
VMMServer VMMServer String Yes Specifies the name of the System Center Virtual Machine Manager (VMM) server that manages the virtual machines.

The Start VM activity generates the output that is described in the following table.

Display Name Internal Name Type Comments
VM ID VMID String Specifies the unique ID of the virtual machine that was started. The input VM ID and the output VM ID are equal unless the activity failed to find a virtual machine with a VM ID that matches the input VM ID. In that case, the output VM ID is set to Null.

Errors and Exceptions

The Start VM activity uses the custom tracking service that is supplied by Service Manager to log errors and exceptions when the activity runs. The activity generates errors or exceptions as appropriate if any of the script properties cannot be resolved.

Remarks

None.

Example

None.

See Also

DeleteVirtual Machine Manager Activities [SM2012_AuthoringGuide]