This is a rudimentary PowerShell module for querying the SentinelOne API.
This is not fully featured or tested, but pull requests would be welcome!
#Instructions
# One time setup
# Download the repository
# Unzip/unblock the zip
# Extract the S1PowershellAPI folder to a module path
# (e.g. $env:USERPROFILE\Documents\WindowsPowerShell\Modules\
# Rename 'Config-RENAME.xml' to Config.xml.
# Import the module.
Import-Module S1PowershellAPI #Alternatively, Import-Module \\Path\To\S1PowershellAPI
# Get commands in the module
Get-Command -Module S1PowershellAPI
# Get help
Get-Help -Name S1PowershellAPI
#Set API Key and Tenant
# Generate API key in your web console.
# The tenant will be the first part in your url <tenant>.sentinelone.net
Set-S1APIKey -APIKey 0000000000000000000000
Set-S1Tenant -Tenant <tenant>
#Examples
Get-S1Apps -AppName teamviewer
Get-S1Agent -Query <username>