wifi inspector

is there a way to disable wifi inspector on avast mac security via terminal?

Hi, may I ask why do you need to switch it off specifically in terminal?

There is a switch in Preferences (“Automatic scanning and alerts”), but this setting is not currently available in config files.

I want to push the script using mdm

You can use com.avast.cmd tool like this:

/Applications/Avast.app/Contents/Backend/utils/com.avast.cmd ctl stop WifiInspector

It controls the “Automatic scanning and alerts” switch, which disables most of Wi-Fi Inspector functionality, but still allows on-demand scans.
The other commands are “start” and “status”.