locked
Log warning messages RRS feed

  • Question

  • Hi 

    I have a script that, when runs in interactive console, displays some warning messages to the console
    I would like to have those messages captured (even when run unattended) to be able to add them to my application log.

    Note: I can't use transcript, I receive the error below and 3 & 4 redirection does not have the desired effect 
    Start-Transcript : This host does not support transcription.

    What is the best way to add those warning messages (and also non-terminating errors) to my application log file?

    Thanks,

    JD

    Wednesday, May 27, 2020 3:31 PM

All replies