SeidChr / RunHiddenConsole

Created executable can be renamed to powershellw.exe or pwshw.exe and put next to the corresponding assembly. Calls to the added assembly will be forwarded to the console without creating a window.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a switch to disable logging

coldiron opened this issue · comments

I'm using this to silently run a powershell command in the right-click context menu. In my use case, it creates a log file in whichever directory I run the context item.

I've built it myself without logging but it'd be great if there was a switch to enable/disable it.

sounds legit.
will see what i can do.

just added the option to define the log level in the app.config.
please check if setting the level to "Exception" anything higher than "Info" will cover your case

Works beautifully. Thanks!