Email script output

Newb here

I'm trying to get my scripts to email the output from the scripts that run.  Example:

I created a script to check the drive information on a file server.  The script runs and gets the information but I can't get the output reults in an email.  I get my notifcation that the script ran successfully but nothing in the body telling me how much drive space is left.  Can someone please help, I know this is a basic for most people but I'm new to scripting.

Thank You in advance!

Hi Bill

You need to use the ExportLog Action to export the log to a file (html, xml or text) and then attach the file to the email. You could also load the file contents into a variable (using the Read Text File Action) and then use that variable in the Body of the email.

HTH