never-displayed
View discussion in a popup
Try like this
Import-Csv .\$OldvCenters\$Cluster\VMHost.csv | %{ $esx = Get-VMHost -Name $_.name $esx.ExtenionData.Destroy_Task() }
Import-Csv .\$OldvCenters\$Cluster\VMHost.csv | %{
$esx = Get-VMHost -Name $_.name
$esx.ExtenionData.Destroy_Task()
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
View solution in original post