Hi - I may not be understanding what you mean, but you can
tryprint(os.listdir("/Volumes"))If you only want the email if there's
other drives other than the HD mounted:x = len(os.listdir("/Volumes"))if
x > 2: (command to send email with listdir array...
Hi Stephen - you may have to write your own Swift app to do this. Start
this video at minute 24 for inspiration:
https://www.jamf.com/resources/videos/swift-jss-api-and-you/
Ah, you were thinking of regular expression notation which is even
better and would like this:if [[ $comptype =~ "Book" ]];then(You won't
want to use .* because the non-alpha characters in the result throw it
off).
Hi - you need to spell out the variable names every time i.e.
$event.device.vendorName != "Disk" OR $event.device.vendorName != "Flash
DISK". Also, you may have to group the OR statements by putting them in
()