Hi All,
I have this one liner command which gives VM which require snapshot consolidation list. i would like to further automate , the script should send the output in email.
Get-VM | where {$_.ExtensionData.Runtime.consolidationNeeded} | Select Name
Can any one give the next lines ,