At the top of the ForEach loop, inside the code block you can insert a line like this
$cluster = Get-Cluster -VMHost $esxi
Then add a calculated property on the Select cmdlet
@(N="Cluster";E={$cluster.Name}}
At the top of the ForEach loop, inside the code block you can insert a line like this
$cluster = Get-Cluster -VMHost $esxi
Then add a calculated property on the Select cmdlet
@(N="Cluster";E={$cluster.Name}}