I’ve tried to test PSAppDeployToolkit module v4 and can’t write log file to different path. Forex:
Write-ADTLogEntry -Message “PSAppDeployToolkit module functions” -LogType CMTrace -Source “Test-Validate” -LogFileDirectory "C:\Windows\Temp" -LogFileName “Test.log” -PassThru
It does show mesage in console but Test.log does not get created. What did I do wrong?