Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

PS don't send email when folder is empty

$
0
0

Hello All,

How can i achive in PS script something like this:

My script parse csv files from path C:\script\*.csv, and after that send email.

But if folder is empty script send to me empty email to. how can I avoid before sending a blank email?

BR/Lukas


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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