Hi All,
We want to reclaim the san space by deleting the powered-off VM's from on-prem. Report we have extracted from RV tools, but its quite confusing that it pull the place holder VM's in the rv tools report as powered-off VM's. How to ignore the placeholder VM's or filter it while extracting only genuine powered-off VM's.
thanks
V
What do you define as a 'place holder' VM?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
These are not powered off servers, they are SRM (Site-Recovery) stubs for our DR. How to exclude these VM's from powered-
Thanks
V
That looks like a RVTools issue then?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
could this not do the job?
Get-VM | where {($_.ExtensionData.Config.ManagedBy.Type -ne "placeholderVm" -and $_PowerState -eq "PoweredOff")}