SentinelOne

Install S1 agent if it's not installed

#
# This script will install the specified SentinelOne .msi file
#
# Change the name of the .msi file to match the installation package name
#
 
#
# Get the site token from the SentinelOne console and specify it below`
#
$site_token=
 
if ($null -eq (wmic product get name | select-string "sentinel agent")) {
    msiexec.exe /i \\server_name\share_name\sentinel_installer.msi SITE_TOKEN=$site_token /qn /norestart
}