I'd like to get a list of VMs, then select only on VMs that have one or more thick provisioned disks. how can I do this?
thanks!
Try like this
Get-VM | where{Get-HardDisk -VM $_ | where{$_.StorageFormat -match 'Thick'}} |
Select Name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Try like this
Get-VM | where{Get-HardDisk -VM $_ | where{$_.StorageFormat -match 'Thick'}} |
Select Name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
ok thanks again