Hi,

I am looking for a script to extract the machines where SENTINELONE is installed on csv file?

when I run my command get-S1agent to file I get a result with a lot of parameters in line,

the result is not in the form of a table.

if someone has already made this kind of script,

thank you for your help

my script :

Import-Module SentinelOne
Add-S1APIToken -APIToken “My_api_token” -APITokenName MyKey1 -Endpoint https://mysconsole.sentinelone.net
Get-S1Agent -APITokenName MyKey1 -ResultSize All >c:\scripts\SentinelOne\S1.csv