IntuneDocumentation icon indicating copy to clipboard operation
IntuneDocumentation copied to clipboard

Cannot enable logging to a file

Open rk-h opened this issue 4 years ago • 0 comments

As I understood it - to turn on logging to a log file - I need to modify the file ..\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Write-Log.ps1. I must change the value $OutputMode = "Console" to $OutputMode = "Console-LogFile". Is this correct?

If I do that, afterwards the module does not work anymore. I suspect that this has to do with the signature of the scripts. If I downloaded the script via PS Gallery, how do I turn on logging to a file?

rk-h avatar Apr 11 '21 21:04 rk-h