Skip to content

Set-S1ApproveUninstall

SYNOPSIS

Approve uninstallation of SentinelOne agents based on specified filters.

SYNTAX

Set-S1ApproveUninstall [-Filter] <String> [-FilterValue] <Object> [<CommonParameters>]

DESCRIPTION

This function approves the uninstallation of SentinelOne agents based on the provided filters. It allows filtering by agent properties such as agent IDs, computer names, and more.

EXAMPLES

EXAMPLE 1

Set-S1ApproveUninstall -Filter 'agentIds' -FilterValue '12345'

Approves the uninstallation of agents with the specified agent ID.

EXAMPLE 2

Set-S1ApproveUninstall -Filter 'computerName' -FilterValue 'example-computer'

Approves the uninstallation of agents with the specified computer name.

PARAMETERS

-Filter

The filter to be applied for approving uninstallation. Valid values are 'agentIds', 'computerName', 'computerName__contains', 'computerName__like', or 'ids'.

Type: String
Parameter Sets: (All)
Aliases:

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

-FilterValue

The value to be used for the specified filter.

Type: Object
Parameter Sets: (All)
Aliases:

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