AutomoxAutomox

Activity Log Report Details from Worklet

Chadd_Portwine
August 13, 2021 at 8:37 pm UTC

For a Windows worklet using Powershell, what is the command that prints to the Details field of the Activity Report Log?

For example, in a Required Software worklet how can I print a message to the details field of the Activity Report Log? Now it outputs “Installed Software”, but I don’t see this in the remediation script.

powershell3 lines
$proc = Start-Process WindowsSensor.MaverickGyr.exe -ArgumentList '/install /quiet /norestart CID=XXXX' -PassThru
Write-Output "Exit Code was $($proc.ExitCode)"
Exit $proc.ExitCode

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack