none
Start-Transcript for all powershell sessions on a machine RRS feed

  • Question

  • Hi,

    Is it possible to enable something like Start-Transcript for all powershell sessions (Globally for one machine)?

    I have a windows service that execute powershell script, i would like to record the sessions that are opened from that service. in event viewer i can see it executed powershell, but since the window is hidden, i cant trace the powershell output.

    Thank you

    Tuesday, November 19, 2019 9:33 PM

All replies

  • This can only be done via a GPO and the transcript will be in the registry. I don't recommend this as it will create a huge log.


    \_(ツ)_/

    Tuesday, November 19, 2019 10:12 PM
    Moderator
  • Hi,

    Was your issue resolved?

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

    If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,

    Lee


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, November 25, 2019 9:23 AM
    Moderator