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

Or

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

Thanks

May 21st, 2015 3:26am

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:44am

oh sorry. i totally forget
May 21st, 2015 3:56am

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

Other recent topics Other recent topics