Hi ,
I has created a script to get data from AD a specified group and export the .CSV file.
now , no matter the .CSV if has data or not, the email will be sent automatically by PowerShell
I wan to ask , how could I set only when the export .csv has the data then the email be sent ?
Thanks for your advice and great help in advance!