Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Re: vCheck - filtering out VM free space and snapshot by VM name

$
0
0

Just add another clause to the where filter:

$AllVMs = $FullVM | Where {-not $_.Config.Template -and $_.Name -notmatch "^VDI"  } | Where { $_.Runtime.PowerState -eq "poweredOn" -And ($_.Guest.toolsStatus -ne "toolsNotInstalled" -And $_.Guest.ToolsStatus -ne "toolsNotRunning")}


Viewing all articles
Browse latest Browse all 231085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>