Table of contents
TOC
Collapse the table of content
Expand the table of content

Create VM from Template

CFreemanwa|Last Updated: 1/17/2017
|
1 Contributor

Applies To: System Center 2016 - Orchestrator

The Create VM from Template activity is used to create a new virtual machine from the specified template.

The activity publishes all of the data from the required and optional properties into published data. The following tables list the required and optional properties and published data for this activity.

Create VM from Template Required Properties

ElementDescription
Destination TypeSpecify the type of VM to create
DestinationDescription of destination
PathThe path of the virtual machine in the format C:\VMM
Source Template NameThe name of the virtual machine Template used to create the virtual machine
Cloud Capability ProfileSpecify the Cloud Apability object defined in the VMM 2016 library.
VM NameAn alphanumeric name of your choice for the virtual machine

Create VM from Template Optional Properties

ElementDescription
Admin PasswordThe password for the Local Administrator account
Admin User NameThe account name for the Local Administrator account
Answer File PathThe full path and file name of the script object stored in the Virtual Machine Manager library to be used as an answer file. The answer file contains the product key, the credentials with permissions to join a domain, and the computer name wildcard character (*). These allow the computer name to be randomly generated.
CPU CountThe number of CPUs on the virtual machine
CPU TypeThe type of CPU for the virtual machine
Delay Start (s)The number of seconds to wait after the virtualization service starts before automatically starting the virtual machine. This value is used to stagger the startup time of multiple virtual machines to help reduce the demand on the physical computer's resources. A typical setting could be 30 to 60 seconds.
DescriptionAn alphanumeric description of your choice for the virtual machine
Destination Computer NameThe name of the new virtual machine
Domain NameThe name of the domain to join
Domain PasswordThe password used to join the computer to a domain, if Domain Namehas a value
Domain User NameThe user name used to join the computer to a domain, if Join Domain = True
Full NameThe full name of the owner that is specified during Sysprep as part of operating system install
Guest OS ProfileThe full path and file name of the library resource that contains the most common settings from a Sysprep.inf file. This includes the computer name and domain or workgroup settings, which can be applied to a virtual machine Template
Hardware ProfileThe full path and file name of the library resource containing hardware specifications that can be applied to a new virtual machine or to a virtual machine Template. A hardware profile can contain specifications for CPU, memory, network adapters, a DVD drive, a floppy drive, COM ports, and the priority given to the virtual machine when allocating resources on a virtual machine host.
Memory (MB)The total amount of memory on the host that is assigned to the virtual machine in megabytes (MB)
Network LocationThe network location for a physical network adapter or for a virtual network adapter
Network SpoofingTrue or False
Network TagAn alphanumeric value of your choice used to locate related networks
Network VLAN IDA numeric identifier in the range 1 through 4094 for the Network VLAN
Operating SystemThe virtual machine operating system
Organization NameThe name of the organization of the person in whose name the virtual machine is registered
OwnerThe owner of the Virtual Machine Manager object in the form of a valid domain user account
Product KeyWindows product key
Start ActionThe behavior of the virtual machine when the virtualization service starts. The valid values are as follows: Never Auto Turn On, Always Auto Turn On, or Turn On VM If Running When VS Stopped.
Stop ActionThe behavior of the virtual machine when the virtualization service stops. The valid values are: Save, Turn Off, or Shut Down Guest OS.
Time ZoneThe time zone of the virtual machine
Virtual NetworkThe name of the virtual network
Logical NetworkThe name or IP subnet for the logical network.
Workgroup NameThe name of the workgroup to join

Create VM from Template Published Data

ElementDescription
AccessibilityPublic or Internal
Added TimeThe date and time that the virtual machine was added in the formatyyyy-mm-dd hh:mm:ss AM or PM
Admin PasswordThe password for the Local Administrator account
Admin User NameThe account name for the Local Administrator account
Answer File PathThe full path and file name of the script object stored in the Virtual Machine Manager library to be used as an answer file. The answer file contains the product key, the credentials with permissions to join a domain, and the computer name wildcard character (*). These allow the computer name to be randomly generated.
Backup EnabledTrue or False
Boot OrderThe order of devices that the virtual machine on a Hyper-V host uses to start up. The value values are: CD, IDE Hard Drive, PXE Boot, or Floppy
Checkpoint LocationThe full path of the checkpoint for the virtual machine, in the format C:\ProgramData\Microsoft\Windows\Hyper-V
Computer NameThe name of the virtual machine
Cost CenterAn alphanumeric value for the Self-Service Portal
CPU CountThe number of CPUs on the virtual machine
CPU Max (%)Two-digit percent value that represents the upper bound for CPU usage while the virtual machine is running
CPU Reserve (%)Two-digit percent value of CPU resources that are set aside for the host operating system to use
CPU TypeThe type of CPU for the virtual machine
CPU Utilization (%)Two-digit percent value that represents the CPU utilization threshold that will trigger a monitor for the virtual machine
Creation SourceThe name of the source that was used to create the virtual machine, for example, the name of another virtual machine, a VHD name, or Unknown
Creation TimeThe date and time that the virtual machine was created in the format yyyy-mm-dd hh:mm:ss AM or PM
Custom PropertiesUp to 10 custom values that can be used to identify, track, and sort virtual machines. The values are published in one list.
Data Exchange EnabledTrue or False
Delay Start (s)The number of seconds to wait after the virtualization service starts before automatically starting the virtual machine
Destination Computer NameThe name of the new virtual machine
Domain NameThe name of the domain joined
Domain PasswordThe password used to join the computer to a domain, if Domain Name has a value
Domain User NameThe user name used to join the computer to a domain, if Join Domain = True
Disk I/O (IOPS)The disk I/O performance, measured by the number of I/O operations per second [IOPS] that can be performed with acceptable latency
EnabledTrue or False. If False, the virtual machine cannot be started.
Expected CPU Utilization %Two-digit percent value that represents the average CPU usage for the virtual machine
Failed Job IDThe unique identifier (GUID) of the most recent failed job
Full NameThe full name of the owner that is specified during Sysprep as part of operating system install
Guest OS ProfileThe full path and file name of the library resource containing the most common settings from a Sysprep.inf file, including the computer name and domain or workgroup settings, that was used to create the virtual machine
Hardware ProfileThe full path and file name of the library resource containing hardware specifications that can be applied to a new virtual machine or to a virtual machine Template. A hardware profile can contain specifications for CPU, memory, network adapters, a DVD drive, a floppy drive, COM ports, and the priority given to the virtual machine when allocating resources on a virtual machine host.
Has Pass-through DiskTrue or False
Has VM AdditionsTrue or False. If True, the virtual machine has additional software installed on the Guest Operating System to assist with virtualization, also known as virtual machine Guest Services.
Heartbeat EnabledTrue or False
Host Group PathThe path of the virtual machine under its host group, in the format All Hosts\virtual machineame
Host IDThe unique identifier (GUID) of the host computer
Host TypeVMHost
Highly AvailableTrue or False
Is Tag EmptyTrue or False
Is Undergoing Live MigrationTrue or False
Job Additional MessagesDetails about the Create VM from Template job returned by Virtual Machine Manager
Job StatusThe status of the Create VM from Template job returned by Virtual Machine Manager. Valid values are: Failed, Completed, or Completed With Info.
Last Restored VM CheckpointThe name of the most recently restored virtual machine Checkpoint
Library GroupThe name of the library group
Library ServerThe name of the library server
Limit CPU FunctionalityTrue or False. Virtual Machine Manager uses this setting to determine whether the CPU should be put into a compatibility mode for virtual machines running Windows NT.
LocationThe virtual machine location in the format C:\ProgramData\Microsoft\Windows\Hyper-V
Marked As TemplateTrue or False
Memory (MB)The total amount of memory on the host that is assigned to the virtual machine in MB
Modified TimeThe date and time that the virtual machine was modified in the format yyyy-mm-dd hh:mm:ss AM or PM
Most Recent TaskThe name of the most recent task for the virtual machine, for example, Start virtual machine
Network LocationThe network location for a physical network adapter or for a virtual network adapter
Network SpoofingTrue or False
Network TagAn alphanumeric value used to locate related networks
Network UtilizationA two-digit network utilization value
Network VLAN IDA numeric identifier in the range 1 through 4094 for the Network VLAN
NumLock EnabledTrue or False
Organization NameThe name of the organization of the person in whose name the virtual machine is registered
Operating SystemThe type of operating system for the virtual machine
Operating System Shutdown EnabledTrue or False
OwnerThe virtual machine owner, in the format Domain\User
Owner SIDThe unique identifier of the owner of the virtual machine in the format S-1-5-21-GUID
Pass-through DisksA list of names of pass-through disks
PathThe path of the virtual machine in the format C:\VMM
Product KeyThe Windows product key
Quota PointA three digit number for the virtual machine that represents a unit by which the virtual machine quota for self-service users is calculated
Self Service User RoleThe user role that allows users to create virtual machines using templates
Share SCSI BusTrue or False
Source Object TypeThe type of the source object that was used to create the virtual machine; for example, virtual machine, Template, or VHD
Source Template NameThe name of the virtual machine Template used to create the virtual machine
Start ActionThe behavior of the virtual machine when the virtualization service starts. The valid values are: Never Auto Turn On, Always Auto Turn On, or Turn On VM If Running When VS Stopped.
StatusThe status of the virtual machine. Valid values are: Running, Paused, Power Off, or Missing
Stop ActionThe behavior of the virtual machine when the virtualization service stops. The valid values are: Save, Turn Off, or Shut Down Guest OS.
TagAn alphanumeric value used to locate related virtual machines
Tiered Perf DataThe unique identifier (GUID) of the ordered performance data
Time ZoneThe time zone selected when the virtual machine was created
Time Synchronization EnabledTrue or False
Total SizeThe total size of the virtual machine, including all disks and configuration files
Undo Disks EnabledTrue or False. If True, the virtual machine can undo any changes when shutting down.
Unsupported ReasonIf an error occurs during creation of the virtual machine, this message text describes the reason that the attempted action is not supported
Use Hardware Assisted VirtualizationTrue or False
User RoleThe user role that allows users to create virtual machines
User Role IDThe unique identifier (GUID) of the user role that allows users to create virtual machines
Virtual COM PortsA list of the names of the Virtual COM Ports. Always COM1 or COM2.
Virtual DVD DrivesA list of the names of Virtual DVD Drives
Virtual Disk DrivesA list of the names of Virtual Disk Drives
Virtual Floppy DriveA list of the names of Virtual Floppy Drives
Virtual Hard DisksA list of the names of Virtual Hard Disks
Virtualization PlatformThe virtualization platform. Valid values are: HyperV, VMWareESX, or Unknown.
Virtual NetworkThe name of the virtual network
Virtual Network AdaptersA list of the names of Virtual Network Adapters
Virtual SCSI AdaptersA list of the names of Virtual SCSI Adapters
VMC PathThe virtual machine Configuration file path, in the format C:\VMM\DRDemo-DataTier\VirtualMachines\abc12345-d6ef-78g9-h0ij-1kl2-34m56n7890p12.xml
VM HostThe full computer name of the host computer for Virtual Machine Manager
VM IDThe unique identifier (GUID) of the virtual machine
VM NameThe name of the virtual machine
VM Platform IDThe unique identifier (GUID) of the virtual machine inside the platform, for example, Hyper-V, VMware, or Virtual Server
Workgroup NameThe name of the workgroup joined
© 2017 Microsoft