Hi,
Tee-Object over writes the content of the file, if i need to append is there
any best way to do that?
I need output on both screen and log file
Regards,
Harsha
Hi,
Tee-Object over writes the content of the file, if i need to append is there
any best way to do that?
I need output on both screen and log file
Regards,
Harsha
No, Tee-Object itself doesn't support that. Can you provide a simple
example of what you're trying to do? There should be other methods to
accomplish a similar task.
Marco
"@lways" <lways@newsgroup> wrote in message
news:59A2D596-2A80-4666-9E2E-69663F29B809@newsgroup
> Hi,
>
> Tee-Object over writes the content of the file, if i need to append is
> there
> any best way to do that?
>
> I need output on both screen and log file
>
> Regards,
> Harsha
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compare-Object and Get the name of object/File? | akcorr | PowerShell | 5 | 19 Jun 2008 |
| Exporting an object to a csv file | B Williams | PowerShell | 7 | 05 Apr 2008 |
| drive reads/writes dvd, not cd. | ploquit | Vista hardware & devices | 1 | 24 Feb 2008 |
| lsass.exe - 3 I/O Reads / Writes per second | lsass | Vista security | 2 | 07 Feb 2008 |
| Adding canonical aliases for Compare-Object, Measure-Object, New-Object | Alex K. Angelopoulos [MVP] | PowerShell | 2 | 26 May 2006 |