Get-S1AvailableActions
SYNOPSIS
Retrieve available actions for SentinelOne agents.
SYNTAX
DESCRIPTION
This function retrieves the list of available actions for specified SentinelOne agents. It sends a GET request to the `/web/api/v2.1/private/agents/available-actions` endpoint and returns the data. Examples of actions include initiating scans, fetching logs, decommissioning agents, and more.
EXAMPLES
EXAMPLE 1
Retrieves the available actions for the specified agents.
EXAMPLE 2
Retrieves the available actions for the agent provided through the pipeline.
PARAMETERS
-AgentID
The IDs of the agents for which to retrieve available actions.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.