Skip to content

Instantly share code, notes, and snippets.

@mikelwellsmore
Last active January 4, 2024 21:24
Show Gist options
  • Save mikelwellsmore/35fcc10b53e429aacda084b90bdbe06e to your computer and use it in GitHub Desktop.
Save mikelwellsmore/35fcc10b53e429aacda084b90bdbe06e to your computer and use it in GitHub Desktop.
➕Install-SentineOne
#Silently install SentinelOne
if($gorelo:client.s1token){
$S1Service = get-service -Name 'Sentinel Agent' -ErrorAction SilentlyContinue
if($S1Service -eq $null){
msiexec /i $gorelo:file.S1Installer SITE_TOKEN=$gorelo:client.s1token /quiet /norestart
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment