Script to send email based on the file size

Hi All,
We have a task scheduler job tat kicks of a script to load .csv files from Oracle database. For some unknown reason the job doesn’t throw any error but the file is showing as 0KB. Is there a way i can use powershell to look for the file size and send an email when it is 0KB?
Please advice.
Thanks

The simple answer is yes.

https://stackoverflow.com/questions/38053129/how-do-we-get-the-size-of-the-file-in-kb-using-powershell-scripting