Powershell email - Need to have caarrage returns
Posted on 2014-03-05
The email works but everything is run together. I need a new line at the end of both test lines, some lines in between the two sets and new lines for each line in the txt files.
The Following Were tested and are up and can be logged into
$(((Get-Content C:\MonitorFolder\ServersUp.txt) | out-string)
"The Following Were tested and are either DOWN or CANNOT be logged into"
((Get-Content C:\MonitorFolder\ServersDown.txt) | out-string))