I am trying to automate my work by attaching an excel file to email and send it across using powershell . But also, I want to paste the screenshot of pivot table to my email body .
One way to do it is to save only the pivot table as picture format like jpeg or png , then attach this picture to the email body .
I am looking for an powershell script which will save my pivot table as picture format . I am using powershell V1.0
please help .