Public/Get-Ova.ps1
<#
.DESCRIPTION Wrapper for Nutanix API version 0.3. .NOTES Author: Timothy Rasiah #> function Get-Ova { [CmdletBinding()] param ( $uuid ) if ($uuid) { $response = Send-Request -method "GET" -endpoint "/ovas/$($uuid)" return $response } $data = @{ "kind" = "ova" } $response = Send-Request -method "POST" -endpoint "/ovas/list" -data $data return $response.entities } |