Skip to main content
Jamf Nation, hosted by Jamf, is a knowledgeable community of Apple-focused admins and Jamf users. If you like what you see, join us in person at the ninth annual Jamf Nation User Conference (JNUC) this October for three days of learning, laughter and IT love.
Posted: by jake
Product: Virus Barrier
Downloads: 157


sudo <mountPoint> <computerName> <currentUsername> <scanPath> <repair>

If there is a hardcoded value specified for the <scanPath> parameter or if there is a value
passed to <scanPath> by the Casper Suite, only the specified path will be scanned. By
default, the entire contents of the boot volume will be scanned.

If there is a hardcoded value specified for the <repair> parameter, or if there is a
value passed to <repair> from the Casper Suite, files will also be repaired if they
are found to be infected. The files will be repaired only if passed one of the
following values:



This script will force VirusBarrier to perform a virus scan on the hard drive and will repair any infected files if desired. The default behavior of the script is to simply perform a scan of the drive and report back any infected files in the output of the script. Additionally, files can be repaired if found to be infected with a virus. Please note that this script was created using the latest version of VirusBarrierX5 available at the time of the script creation (10.5.3). Compatibility with versions of VirusBarrierX5 created prior to and post 10.5.3 is unknown at this time.


Generating Preview...