Hi,<\/p>\n
I am looking for a script to extract the machines where SENTINELONE is installed on csv file?<\/p>\n
when I run my command get-S1agent to file I get a result with a lot of parameters in line,<\/p>\n
the result is not in the form of a table.<\/p>\n
if someone has already made this kind of script,<\/p>\n
thank you for your help<\/p>\n
my script :<\/p>\n
Import-Module SentinelOne Hi,<\/p>\n I am looking for a script to extract the machines where SENTINELONE is installed on csv file?<\/p>\n when I run my command get-S1agent to file I get a result with a lot of parameters in line,<\/p>\n the result is not in the form of a table.<\/p>\n if someone has already made this kind of script,<\/p>\n thank you for your help<\/p>\n my script :<\/p>\n Import-Module SentinelOne
\nAdd-S1APIToken -APIToken “My_api_token” -APITokenName MyKey1 -Endpoint https://mysconsole.sentinelone.net<\/a>
\nGet-S1Agent -APITokenName MyKey1 -ResultSize All >c:\\scripts\\SentinelOne\\S1.csv<\/p>","upvoteCount":0,"answerCount":1,"datePublished":"2022-04-12T11:36:47.000Z","author":{"@type":"Person","name":"y6983","url":"https://community.spiceworks.com/u/y6983"},"suggestedAnswer":[{"@type":"Answer","text":"
\nAdd-S1APIToken -APIToken “My_api_token” -APITokenName MyKey1 -Endpoint https://mysconsole.sentinelone.net<\/a>
\nGet-S1Agent -APITokenName MyKey1 -ResultSize All >c:\\scripts\\SentinelOne\\S1.csv<\/p>","upvoteCount":0,"datePublished":"2022-04-12T11:36:47.000Z","url":"https://community.spiceworks.com/t/powershell-7-script-sentinelone/830268/1","author":{"@type":"Person","name":"y6983","url":"https://community.spiceworks.com/u/y6983"}}]}}