Skip to content

hummelm10/S1PowershellAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S1PowershellAPI

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

Find Applications Installed

Get-S1Apps -AppName teamviewer

Search for Users and their Machines

Get-S1Agent -Query <username>

About

Powershell Module for S1 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published