Sophos Central Deployment Scripts for Windows and macOS
These scripts designed for Partner use and require access to the Customer Token and Management Server available from the Sophos Central Partner Dashboard
Windows
The Windows Script only requires the Customer Token and will automatically download the SophosSetup.exe from Central.
Example:
- #Setup Customer Variables;
- #CustomerToken - Example - "Customer Token Here"
- #Products - Example - "antivirus,intercept"
- $Global:CustomerToken =
- $Global:Products =
Products:
Central Intercept X Essentials - antivirus,intercept
Central Intercept X Advanced - antivirus,intercept
Central Intercept X Advanced with XDR - antivirus,intercept,xdr
Sophos MDR - antivirus,intercept,xdr,mdr
Adding DeviceEncryption - products,deviceEncryption
Adding ZTNA - products,ztna
macOS
The macOS Script will require the Customer Token, Management Server and SophosInstall file for macOS downloaded manually.
Example:
SophosCustToken="Customer Token Here"
#Customer Token from CSV
SophosMgmtServer_macOS="macOS Mgmt Server Location Here"
#macOS Mgmt Server Location from CSV
SophosEndpointSelection="antivirus intercept"
Options:
#Central Intercept X Essentials: "antivirus intercept"
#Central Intercept X Advanced: "antivirus intercept"
#Central Intercept X Adv with XDR: "antivirus intercept xdr"
#Sophos MDR: "antivirus intercept xdr mdr"
Additional Product:
SophosDeviceEncryption="false"
#Options: true or false
These scripts are not supported by Sophos Support.