-
-
Save mikelwellsmore/35fcc10b53e429aacda084b90bdbe06e to your computer and use it in GitHub Desktop.
➕Install-SentineOne
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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