Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230663

Re: New line `n is not working

$
0
0

lol, wow, I can't believe how easy that was (for you).  I would have been working on that all day.  Well, that works, but I have 1 last question, and maybe this is because it's a text file, I'm not sure. When I email the list, each VM is on its own line, but in the text file, now it shows the date, and then it drops to a new line, but then the VM names are all on one line.  I want a VM name on each line. 

 

-Body "Removed: `n `n $($Removed| out-string)  "

 

Of course there is more to the line above, but I tested it and it outputs every VM on its own line (at least in the email that gets sent out), and the space does not matter, which is odd, or maybe outlook is doing something.  I include the date in the subject of the email, so I don't worry using Get-Date with the email output, but that does not work in the text file.  How do I put each VM on a new line?


Viewing all articles
Browse latest Browse all 230663

Trending Articles



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