Skip to content

Invoke FalconHostGroupAction

bk-cs edited this page Apr 29, 2023 · 20 revisions

Invoke-FalconHostGroupAction

SYNOPSIS

Perform actions on host groups

DESCRIPTION

Adds or removes hosts from host groups in batches of 500.

Requires 'Host groups: Write'.

PARAMETERS

Name Type Description Min Max Allowed Pipeline PipelineByName
Name String Action to perform add-hosts
remove-hosts
Id String Host group identifier
HostId String[] Host identifier X X

SYNTAX

Invoke-FalconHostGroupAction [-Name] <String> [-Id] <String> [-HostId] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]

REFERENCE

Endpoints

POST /devices/entities/host-group-actions/v1

falconpy

performGroupAction

USAGE

Managing hosts in a static host group

Invoke-FalconHostGroupAction -Name add-hosts -Id <id> -HostId <id>, <id>
Invoke-FalconHostGroupAction -Name remove-hosts -Id <id> -HostId <id>, <id>

See Add a list of hostnames to a host group.

2023-04-25: PSFalcon v2.2.5

Clone this wiki locally