Get-S1Token
SYNOPSIS
Retrieve a temporary API token for SentinelOne authentication.
SYNTAX
DESCRIPTION
This function retrieves a temporary API token for SentinelOne authentication using the provided credentials. If no credentials are provided, it prompts the user for their SentinelOne username and password.
EXAMPLES
EXAMPLE 1
Retrieves a temporary API token using the specified credentials.
EXAMPLE 2
Prompts the user for their SentinelOne username and password, then retrieves a temporary API token.
PARAMETERS
-Credentials
The credentials to use for authentication. If not provided, the user will be prompted for their username and password.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
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.