在使用Intune时将安装包批量安装至Mac OS用户电脑时,当你进行Shell脚本部署时,你可以将以下脚本填入,并将EnterpriseId的值更改为你所在企业的企业ID。
#!/bin/bash
# EnterpriseId
EnterpriseId='02481b9e'
# SitedId
SiteId='vjscjfyi'
# AutoRun
AutoRun=1
# SitedI'
RunApp=1
# Check whether the path exists. If the path does not exist, create it
database_path="$HOME/Library/Application Support/Yealink USB Connect/Config"
if [ ! -d "$database_path" ]; then
mkdir -p "$database_path"
fi
# Generates the specified file
echo "{\"EnterpriseId\":\"$EnterpriseId\",\"SiteId\":\"$SiteId\",\"EnterpriseMode\":true}" > "$database_path/yucdeploy.json"
关于如何使用Intune将安装包批量安装至Mac OS用户电脑,请参阅视频:通过Intune将YUC安装包批量安装至MacOS用户电脑。