Skip to main content

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.



$proc = Start-Process WindowsSensor.MaverickGyr.exe -ArgumentList '/install /quiet /norestart CID=XXXX' -PassThru

Write-Output "Exit Code was $($proc.ExitCode)"

Exit $proc.ExitCode
Be the first to reply!

Reply