Find FalconHostname - CrowdStrike/psfalcon GitHub Wiki
Find hosts using a list of hostnames
Perform hostname searches in groups of 100.
Requires 'Hosts: Read'.
| Name | Type | Description | Min | Max | Allowed | Pipeline | PipelineByName |
|---|---|---|---|---|---|---|---|
| InputObject | String[] | One or more hostnames to find | X | ||||
| Path | String | Path to a plain text file containing hostnames | |||||
| Include | String[] | Include additional properties |
agent_versioncidexternal_ipfirst_seenhostnamelast_seenlocal_ipmac_addressos_buildos_versionplatform_nameproduct_typeproduct_type_descserial_numbersystem_manufacturersystem_product_nametags
|
||||
| Partial | Switch | Perform a non-exact search |
Find-FalconHostname [-Path] <String> [[-Include] <String[]>] [-Partial] [-WhatIf] [-Confirm] [<CommonParameters>]Find-FalconHostname -InputObject <String[]> [[-Include] <String[]>] [-Partial] [-WhatIf] [-Confirm] [<CommonParameters>]A search with Get-FalconHost and a hostname filter is used to find device_id values that match a specific
hostname. To find hosts using a list of hostnames, you can loop through the list or use Find-FalconHostname.
Find-FalconHostname can accept a list of hostnames as an array, or from a plaintext file containing a hostname
on each line. If a match is found, the hostname and device_id will be output, otherwise a warning message
will be generated.
'hostname1','hostname2' | Find-FalconHostnameFind-FalconHostname -Array 'hostname3','hostname4'Find-FalconHostname -Path .\my_hostname_list.txt2024-09-03: PSFalcon v2.2.7
