You can specify the display name for the virtual machine by setting the VirtualMachineConfigSpec.name property. Any % (percent) character used in this name parameter must be escaped, unless it is used to start an escape sequence. Clients can also escape any other characters in this name parameter.

Use the annotation field to provide a description of the virtual machine. To remove an existing description, specify the empty string as the value of annotation.

The location of the virtual machine is determined implicitly during creation because you call a Folder.CreateVM_Task method and specify resource pool and optional target host the virtual machine should belong to. See Resource Management for a discussion of resource pools and virtual machine location.