Hi @Shamyog ,
one option could be using Send-MailMessage
: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage?view=powershell-7.2
Just put the query result of your command in a variable and it's possible to use this as body of the email.
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten