Public/Clone-Vm.ps1

<#
    .DESCRIPTION
    Wrapper for Nutanix API version 0.3.
 
    .NOTES
    Author: Timothy Rasiah
#>


function Clone-Vm {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory=$true)]
        $Uuid
    )
    
    $response = Send-Request -method "POST" -endpoint "/vms/$($Uuid)/clone"
    return $response
}