I'm written small tool in c# to execute powershell command.
Need your help to write all the execution activities done by the tool to a log file and the powershell command execution details written to the log file with verbose logging level.
I could not manage to complete the coding.
If you could share some sample coding, it will be great.
Thank you in advance.