Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

Script to send output in email

$
0
0

Hi All,

It could be a simple, am not powercli expert. i was looking for a script to send the below commands output in email. the output content should send in email. The command will give us the list of VMs which need VM snapshot consolidation list. i want to connect multiple vCenter and run the command and send the output content in email.

 

Get-VM | where {$_.ExtensionData.Runtime.consolidationNeeded} | Select Name

 

 

Thank you in Advance.

 

Regards

RG


Viewing all articles
Browse latest Browse all 16717

Trending Articles



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