~sporiff/sophos-install

Powershell scripts for automatic deployment of the Sophos AV client during SCCM build
93dce3e3 — Sanpei Kawahara 2 years ago
Update README.md
081578e5 — Sanpei Kawahara 2 years ago
Update Sophos-Windows7.ps1
4d17c200 — Sanpei Kawahara 2 years ago
Update Sophos-Windows10.ps1

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~sporiff/sophos-install
read/write
git@git.sr.ht:~sporiff/sophos-install

You can also use your local clone with git send-email.

#Sophos-Install

Powershell scripts for automatic deployment of the Sophos AV client during SCCM build. This process is for admins trying to deploy Sophos AV from the Sophos Cloud Console, where the installer goes out of date every 30 days.

The script simply downloads the latest installer from the link provided by your Sophos Cloud for client download, installes it, and then wipes the installer from the machine.

These scripts should be run during the build process in order to install Sophos AV on Windows 7/Windows 10. They will need to be packaged and then run in bypass mode with a reboot scheduled after completion.

The scripts are different depending on the version of Powershell installed on the machine. The Windows 7 script presumes Powershell 2.0, while the Windows 10 script should work on 3.0 and above. This is due to the absense of the Invoke-WebRequest cmdlet in Powershell 2.0.

These scripts are provided completely gratis. I had no luck finding anything like this when I was looking, so I thought I'd share the fruits of my frustration.