Can anyone advice how to set Powershell logs.
I need history of all PS commands there were used by all users on selected workstatios
I need those commands to be exported to the file with the following:
Id CommandLine ExecutionStatus Username Workstation StartExecutionTime EndExecutionTime
Lee Holmes, one of the PowerShell team members, has also written on this (Google, "Lee Holmes PowerShell Logging"). He did a session on it at PowerShell Summit 2015 or 2016, and the videos would be at YouTube.com/PowerShellorg.