Skip to content

Get-S1Passphrase

SYNOPSIS

Retrieve passphrases for SentinelOne agents.

SYNTAX

All (Default)

Get-S1Passphrase [<CommonParameters>]

AgentName

Get-S1Passphrase -AgentName <String> [<CommonParameters>]

AgentID

Get-S1Passphrase -AgentID <String[]> [<CommonParameters>]

DESCRIPTION

This function retrieves passphrases for SentinelOne agents based on the provided filters. It supports filtering by agent name and agent IDs.

EXAMPLES

EXAMPLE 1

Get-S1Passphrase -AgentName "ExampleAgent"

Retrieves passphrases for the agent named "ExampleAgent".

EXAMPLE 2

Get-S1Passphrase -AgentID @("id1", "id2")

Retrieves passphrases for the agents with the specified IDs.

EXAMPLE 3

Get-S1Passphrase -AgentName "ExampleAgent" -AgentID @("id1", "id2")

Retrieves passphrases for the agent named "ExampleAgent" and the agents with the specified IDs.

EXAMPLE 4

Get-S1Passphrase -AgentName "ExampleAgent" -AgentID @("id1", "id2") -Verbose

Retrieves passphrases for the agent named "ExampleAgent" and the agents with the specified IDs, with verbose output.

PARAMETERS

-AgentName

{{ Fill AgentName Description }}

Type: String
Parameter Sets: AgentName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AgentID

{{ Fill AgentID Description }}

Type: String[]
Parameter Sets: AgentID
Aliases:

Required: True
Position: Named
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.

INPUTS

OUTPUTS

NOTES