Ejemplo n.º 1
0
        public static CloneMachineTask New(
            string host,
            string machineName,
            string baseMachineName,
            string machineLocation,
            string diskPath,
            string networkAdapterName)
        {
            CloneMachineTask task = new CloneMachineTask(host);

            return(task.Name(machineName)
                   .BaseName(baseMachineName)
                   .Location(machineLocation)
                   .DiskPath(diskPath)
                   .Network(networkAdapterName));
        }
Ejemplo n.º 2
0
        public static CloneMachineTask New(string host, string machineName)
        {
            CloneMachineTask task = new CloneMachineTask(host);

            return(task.Name(machineName));
        }