I'd like to comment on Automated deployment of Sophos Endpoint Intercept- X.
I am referring to the article: https://support.sophos.com/support/s/article/KB-000035049?language=en_US
I think the script could be easily translated to PS.
Advantages could be: https retrieval of the installer using an Invoke-Webrequest instead of SMB
PS provides flexible and more comprehensive scripting.
Batch file scripting is getting old. Students now learn PS.