Avoid newline without write-host

Hi, Developer,

How to avoid newline without write-host in script as below?

........ | ForEach {  $_.value+"," } | Out-File -FilePath done.csv -Encoding OEM


........ | ForEach { "$_.," } | Out-File -FilePath done.csv -Encoding OEM


May 21st, 2015 3:25am

I assume this is the SAME question as in here aka the one you started. This is a dupli
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 3:42am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics