Create Clone with Customized CPU Shares

Version 2


    #######################################################################################

    #

    # exclonewithcpushare.pl

    # Example script to clone a vm with the customzied cpu shares

    # Parameters:

    # -- tempvm Name of template virtual machine

    # -- name Name of virtual machine to be created

    # -- source Base virtual machine for the template

    # -- ram RAM assigned to new virtual machine

    # -- reservation Reservation assigned to new virtual machine

    # -- cpus Numbers of cpu assigned to virtual machine



    # This script works with VMware VirtualCenter 2.0 or later.



    # This script works with VMware ESX Server 3.0 or later.

    #######################################################################################