none
powershell and robocopy log RRS feed

  • Frage

  • Hi, 

    I am using a powershell script that contains also some robocopy statements. 

    Powershell writes a logfile:   "log-statements" | out-File -Append Logfile.txt

    I tried robocopy to use the same logfile: /Log+:Logfile.txt, but Robocopy will destroy the format of the powershell logfile.

    Is there an easy way that powershell and robocopy can write - one after another - to the same txt-logfile? 

    sonny 


    Siegmund Sonntag

    Freitag, 19. Juli 2013 08:52

Antworten

Alle Antworten