$hostClusterIds isn't used. Get-HVPoolProvisioningData calls HostOrCluster_GetHostOrClusterTree and returns an object which contains the host/cluster id. However, then the next two then call HostOrCluster_GetHostOrClusterTree again and the result is never used.
$hostClusterIds isn't used.
Get-HVPoolProvisioningData
callsHostOrCluster_GetHostOrClusterTree
and returns an object which contains the host/cluster id. However, then the next two then callHostOrCluster_GetHostOrClusterTree
again and the result is never used.