Produce new line (`r`n), everytime anything gets written into the log file.
i'm using transcript log everything, written in powershell, log file. problem can not tell, when logging finished, because there random reboots (installing applications). there way log everything, snapshots powershell window? example there errors, they're written on 1 simple line , after last line, next input written right after line, , not on new line.
the following signature:
powershell programmer & advanced lua programmer
location: switzerland
beside that, whenever see reply, think helpful, click "vote helpful"! , whenever see reply being answer main question of thread, click "mark answer" (if opened thread).
i published url's icons in signature.
please contact me, before reporting me, thank you.
[string](0..21|%{[char][int]([int]("{0:d}" -f 0x28)+('577076797174-87661607769657424-8687168065964').substring(($_*2),2))})-replace' '
hi,
i have not quite sure want achieve , please give example explain that?
as far know, if want change line, use `n. save result logs, works.
regards,
yan li
cataleya li
technet community support
Windows Server > Windows PowerShell
Comments
Post a Comment