Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

You could use nested Where-clauses.

Get-VM |
Where-Object{Get-SNapshot -VM $_ | Where-Object{$_.Description -eq 'Prior to install VMTools'}} |
Select-Object -Property Name


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

View solution in original post