I have a daily report I made previously to check for snapshots, it emails us the information I gathered about the vm with snapshots.
i'm using an array to gather the info than feed that info into my HTML table which in the end is emailed to me.
My question is if there are no vm's that have snapshots, is there a way to place logic to not email me since nothing was gathered within the array?
for the first time I received an empty email with just a hint of the HTML table because we removed all snapshots within our env... a blank email report looks like it messed up.