Hi Guys good afternoon!
I’m trying to install and for logging purposes, I’m trying to make my log appear on my psadt log File…
I have tested both ways and it looks like I don’t get it at the psadt log file…
-First way
#Write-Log -Message "Checking if there's any app installed" -Severity 2 -AppendToLogFile $true
-Second Way
Write-Log -Message "Checking if there's any app installed" -Severity 2 -Source ${CmdletName} -DebugMessage
Remove-MSIApplications -Name "Altec DataPrint" -Exact -EA 0
Don’t get any error but no message.
How do you guys make it?