This script is for the removal of Malwarebytes (MB). It follows these steps:
- Checks for the Malwarebytes removal file. Exits if it does not exist.
- Uses the removal file to remove MB silently.
- Waits 30 seconds to finish.
- Removes the remains of the MB directory so the free version can be installed again if necessary.
- Waits 5 seconds to finish.
- Checks the see if the MB folder still exists.
- Creates a log files showing the progress.
- Uploads the log file tothe asset in SyncroMSP.
- Change Steps 3. and 5. to wait for the procvess to finish rather than waiting for a set period of time.