VMware Cloud Community
TheVMinator
Expert
Expert
Jump to solution

Check for thick provisioned VMs

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!

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Try like this

Get-VM | where{Get-HardDisk -VM $_ | where{$_.StorageFormat -match 'Thick'}} |

Select Name


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

Try like this

Get-VM | where{Get-HardDisk -VM $_ | where{$_.StorageFormat -match 'Thick'}} |

Select Name


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
TheVMinator
Expert
Expert
Jump to solution

ok thanks again

0 Kudos