PowerShell
PSFalcon is a PowerShell module that enables CrowdStrike Falcon users to interact with the Falcon OAuth2 APIs without requiring deep API expertise. It simplifies automation tasks across the Falcon platform - modify detections and policies in bulk, run Real-time Response across many devices simultaneously, manage malware samples, and configure MSSP parent/child environments.
PSFalcon requires PowerShell 5.1+ on Windows or PowerShell 6+ on Linux and macOS.
Installation
Section titled “Installation”Install-Module -Name PSFalcon -Scope CurrentUserQuick Start
Section titled “Quick Start”# AuthenticateRequest-FalconToken -ClientId $env:FALCON_CLIENT_ID -ClientSecret $env:FALCON_CLIENT_SECRET
# Query hostsGet-FalconHost -Filter "hostname:*'search-term'*" -Limit 10