What is PSFalcon?
PSFalcon is a PowerShell module that helps CrowdStrike Falcon users interact with the CrowdStrike Falcon OAuth2 APIs without having extensive knowledge of APIs or PowerShell. PSFalcon simplifies automation and enables you to perform actions outside of the Falcon UI.Key Features
Comprehensive API Coverage
Access 700+ cmdlets covering all major Falcon APIs including hosts, detections, incidents, policies, and more
Cross-Platform Support
Works on Windows (PowerShell 5.1+), Linux, and macOS (PowerShell 6+)
OAuth2 Authentication
Secure authentication with automatic token refresh and credential caching
Real-time Response
Execute Real-time Response commands across multiple hosts simultaneously
What You Can Do
PSFalcon helps you automate tasks and streamline workflows:- Bulk Operations: Modify large numbers of detections, incidents, policies, or rules in a single script
- Real-time Response: Perform actions on many devices simultaneously using RTR cmdlets
- File Operations: Upload or download malware samples and Real-time Response files
- Multi-CID Management: Create and modify configurations for MSSP parent and child environments
- Custom Reporting: Generate reports and export data in formats that suit your needs
- Integration: Build workflows that integrate Falcon with your existing tools and processes
Use Cases
Security Operations
Security Operations
Automate detection triage, incident response workflows, and threat hunting activities across your environment.
Policy Management
Policy Management
Deploy and manage prevention policies, sensor update policies, and firewall rules at scale.
Asset Management
Asset Management
Query and report on host information, sensor versions, and deployment status across your fleet.
MSSP Operations
MSSP Operations
Manage multiple customer environments efficiently with Falcon Flight Control (multi-CID) support.
Requirements
Before you begin, ensure you have:Active Falcon Subscription
An active CrowdStrike Falcon subscription with access to the modules you need
API Credentials
A Falcon OAuth2 API Client with appropriate roles and permissions
API credentials are created in the Falcon console under Support and resources > API Clients and Keys. Ensure your API client has the necessary scopes for the operations you plan to perform.
Module Information
- Version: 2.2.9
- Author: Brendan Kremian
- Company: CrowdStrike
- PowerShell Editions: Desktop, Core
- License: View License
Getting Help
Need assistance?- Visit the PSFalcon Wiki for detailed documentation
- Check out example scripts in the repository
- Review the API documentation for endpoint details
- Report issues on GitHub
Next Steps
Installation
Install PSFalcon from the PowerShell Gallery
Quick Start
Get started with your first PSFalcon script