Invoke FalconHostGroupAction - CrowdStrike/psfalcon GitHub Wiki
Perform actions on host groups
Adds or removes hosts from host groups in batches of 500.
Requires 'Host groups: Write'.
| Name | Type | Description | Min | Max | Allowed | Pipeline | PipelineByName |
|---|---|---|---|---|---|---|---|
| Name | String | Action to perform |
add-hostsremove-hosts
|
||||
| Id | String | Host group identifier | |||||
| HostId | String[] | Host identifier | X | X |
Invoke-FalconHostGroupAction [-Name] <String> [-Id] <String> [-HostId] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]POST /devices/entities/host-group-actions/v1
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
