We have some .net applications running on a server that run powershell scripts. Is there a setting where we can log every single powershell command run on that machine, without modifying our existing applications? I already tried start-transcript . That command only captures the commands run in the current session.
Add a comment
|
1 Answer
I believe Microsoft calls what you're after "Over the Shoulder Transcription". It's described here, and will be available in WMF5.
1 Comment
Mathias R. Jessen
Transcript logging (+ script block logging and module logging) is available in the latest preview, should OP want to test if this is the functionality he's after