Get FalconUninstallToken - CrowdStrike/psfalcon GitHub Wiki
Retrieve an uninstallation or maintenance token
Requires 'Sensor update policies: Write', plus related permission(s) for 'Include' selection(s).
Name | Type | Description | Min | Max | Allowed | Pipeline | PipelineByName |
---|---|---|---|---|---|---|---|
AuditMessage | String | Audit log comment | |||||
Include | String[] | Include additional properties |
agent_version cid external_ip first_seen hostname last_seen local_ip mac_address os_build os_version platform_name product_type product_type_desc serial_number system_manufacturer system_product_name tags
|
||||
Id | String | Host identifier | X | X |
Get-FalconUninstallToken [[-AuditMessage] <String>] [[-Include] <String[]>] [-Id] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
POST /policy/combined/reveal-uninstall-token/v1
Get-FalconUninstallToken -Id <id>
Get-FalconUninstallToken -Id MAINTENANCE
Get-FalconHost -All | Get-FalconUninstallToken -Include hostname | Export-Csv .\token_list.csv -NoTypeInformation
Get-Content .\device_id.txt | Get-FalconUninstallToken | Export-Csv .\token_list.csv -NoTypeInformation
2023-04-25: PSFalcon v2.2.5