Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to write powershell command execution with verbose logging into log file from c# application?

$
0
0

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.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>