Skip to main content

Get-FalconHostGroup

Search for host groups in your environment.
string[]
Host group identifier(s) to retrieve specific groupsAliases: ids
string
Falcon Query Language (FQL) expression to limit resultsExample: name:'*Production*'+group_type:'static'
string
Property and direction to sort resultsValid values: created_by.asc, created_by.desc, created_timestamp.asc, created_timestamp.desc, group_type.asc, group_type.desc, modified_by.asc, modified_by.desc, modified_timestamp.asc, modified_timestamp.desc, name.asc, name.desc
int32
Maximum number of results per request (1-500)
string[]
Include additional properties in the responseValid values: members - Include member host IDs
int32
Position to begin retrieving results (for pagination)
switch
Retrieve detailed information for host groups
switch
Repeat requests until all available results are retrieved
switch
Display total result count instead of results
Required Permission: Host groups: Read

Examples


New-FalconHostGroup

Create new host groups.
string
required
Type of host group to createValid values:
  • static - Manually managed membership
  • staticByID - Manually managed by device ID
  • dynamic - Automatically managed via FQL assignment rule
Aliases: group_type
string
required
Host group name
string
Host group description
string
FQL-based assignment rule (required for dynamic groups, not applicable for static groups)Example: platform_name:'Windows'+tags:'FalconGroupingTags/Production'Aliases: assignment_rule
object[]
One or more host group objects to create in a single request (up to 10 per request)Aliases: resources, Array
Required Permission: Host groups: Write

Examples

Dynamic host groups automatically update membership based on the assignment rule. Static groups require manual membership management using Invoke-FalconHostGroupAction.

Edit-FalconHostGroup

Modify existing host groups.
string
New host group name
string
New host group description
string
New FQL-based assignment rule (only applicable for dynamic host groups)Aliases: assignment_rule
string
required
Host group identifier to modify
Required Permission: Host groups: Write

Examples


Remove-FalconHostGroup

Remove host groups.
string[]
required
Host group identifier(s) to removeAliases: ids
Required Permission: Host groups: Write

Examples

Removing a host group is permanent and cannot be undone. Ensure you have the correct group ID before executing.

Get-FalconHostGroupMember

Search for members of a host group.
string
Host group identifier to retrieve members from
string
Falcon Query Language (FQL) expression to limit member results
string
Property and direction to sort results
int32
Maximum number of results per request (1-500)
int32
Position to begin retrieving results
switch
Retrieve detailed member information
switch
Repeat requests until all available results are retrieved
switch
Display total result count instead of results
Required Permission: Host groups: Read

Examples


Invoke-FalconHostGroupAction

Add or remove hosts from host groups.
string
required
Action to performValid values:
  • add-hosts - Add hosts to the group
  • remove-hosts - Remove hosts from the group
Aliases: action_name
string
required
Host group identifier to modify
string[]
required
Host identifier(s) to add or remove (processed in batches of 500)Aliases: ids, device_id, HostIds
Required Permission: Host groups: Write

Examples

Host membership actions are processed in batches of 500. For large operations, the cmdlet automatically handles batching.