Trying To uninstall Cylance OPTICS
I am trying to get this to run in a worklet but I am not great at powershell. Here is what I have:
Evaluation code:
If (Test-Path -Path "C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe")
{
return 1
}
else
{
return 0
}
Remediation code:
Start-Process -Wait -FilePath 'C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe' -ArgumentList ‘--use_cli -t v20’ -PassThru
Ultamately what needs to run is:
C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe -use_cli -t v20’ -PassThru
Any direction would be much appreciated.
-Rob
This discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on Slack