powershell - Need to print content of the text file in email body using BLAT -
my script output can have more 1 fields empty, moved value of "name" txt file below:
select-object -expand name | out-file d:\tmp\test\out.txt
now need email text present in out.txt , tried below command
blat out.txt -to email@email.com -subject "field missing" -body "field missing"
with this, getting email but, text present in file not coming via email. please note, dont want attachment in email.
please fix it.
Comments
Post a Comment