How can I list the virtual machines that have a single hard drive greater than 50GB? If they have a total of all hard drives greater than 50GB, I DONT want to list them.
Thanks!
You mean something like this ?
Get-VM | Get-HardDisk | where {$_.CapacityGB -gt 50} |
Select @{N="VM";E={$_.Parent.Name}},Name,CapacityGB
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You mean something like this ?
Get-VM | Get-HardDisk | where {$_.CapacityGB -gt 50} |
Select @{N="VM";E={$_.Parent.Name}},Name,CapacityGB
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Ok great thanks