I use a script to update Zoom to what ever version the app owners at my company say we are allowed to install. The script runs a curl command to download the installer for the version we want, then it installs the package. It first checks if Zoom is running. If it's not, it runs the install. If it is, it does not install the newer version of Zoom. The policy runs at check-in scoped to all comptuers with an exclusion for computers already running the version of Zoom we want to install. I have been trying to figure out how to detect if Zoom is running a meeting or not. Somoene may simply have Zoom launched, but not have a meeting running. I know a lot of my users just keep Zoom running. This results in the update taking longer to get done on all of my Macs. Does anyone know what process to look for if Zoom is in a meeting?
Solved
How to check if Zoom is running a meeting?
Best answer by mm2270
Found this when searching around on the web.
[OneLiner] Detect active Zoom meeting : r/PowerShell (reddit.com)
Although the title of the post is for PowerShell, someone posted a MacOS one liner to check. Basically, you need to see how many open ports there are for zoom.
lsof -i 4UDP | grep zoom | awk 'END{print NR}'
When Zoom is connected or hosting a meeting, that number will be higher than 1. I'm getting the number 6 consistently, but I haven't yet tested if just connected to a meeting versus hosting one myself.
If the Zoom app is only running, it shows "1"
Maybe you can use something like this.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
