Module Structure
PSFalcon v2.2.9 is organized around CrowdStrike Falcon API service categories, with cmdlets grouped by functionality:OAuth2 & Authentication
Token management and authentication
Host & Device Management
Host groups, device control, and grouping tags
Prevention & Response
Prevention policies, response policies, and IOA rules
Real-Time Response
Interactive command sessions and remote actions
Detection & Incidents
Alerts, detections, behaviors, and incident management
Threat Intelligence
Actors, indicators, malware families, and reports
Cloud Security
AWS, Azure, GCP account management and posture
Container Security
Container policies, images, registries, and vulnerabilities
Naming Conventions
PSFalcon follows PowerShell best practices with consistent verb-noun patterns:Standard Verbs
Noun Structure
All cmdlets use theFalcon prefix followed by the resource type:
Get-FalconHost- Get host informationGet-FalconHostGroup- Get host group informationGet-FalconHostGroupMember- Get host group membershipNew-FalconIoaExclusion- Create IOA exclusionEdit-FalconFirewallPolicy- Modify firewall policy
Common Parameters
PSFalcon cmdlets share common parameter patterns for consistency:Identifiers
string or array
Resource identifier(s), typically 32-character hexadecimal valuesPattern:
^[a-fA-F0-9]{32}$Aliases: ids, device_id, device_ids, host_ids, etc.Filtering & Search
string
Falcon Query Language (FQL) expression to limit resultsExample:
"hostname:'DESKTOP-*'+platform_name:'Windows'"string
Property and direction to sort resultsFormat:
property_name.asc or property_name.descExample: "last_seen.desc"integer
Maximum number of results per requestDefault: Varies by cmdlet (typically 100 or 500)Maximum: Varies by API endpoint (typically 5000)
integer
Position to begin retrieving results for paginationDefault:
0switch
Retrieve all available results using automatic pagination
switch
Retrieve detailed information instead of identifier-only results
Common Properties
string
Resource name (policies, groups, etc.)
string
Resource description
PowerShell Features
All cmdlets support standard PowerShell features:- Pipeline support: Most cmdlets accept pipeline input via
ValueFromPipelineorValueFromPipelineByPropertyName - Parameter validation: Built-in validation for patterns, sets, and custom scripts
- ShouldProcess: Many modification cmdlets support
-WhatIfand-Confirm - Progress indicators: Long-running operations display progress
API Credential Caching
PSFalcon caches your API credentials and token after successful authentication: Cached Information:ClientId- OAuth2 client identifierClientSecret- OAuth2 client secretHostname- CrowdStrike API hostname/cloudMemberCid- Member CID for multi-CID environmentsExpiration- Token expiration timestamp
Error Handling
PSFalcon cmdlets return detailed error information:Module Information
string
2.2.9
string
Brendan Kremian
string
CrowdStrike
string
5.1 minimum required
array
Desktop, Core (cross-platform support)
Next Steps
OAuth2 Authentication
Learn how to authenticate and manage tokens
Host Management
Manage hosts, groups, and device actions
Real-Time Response
Execute commands on remote hosts
Prevention Policies
Configure prevention and response policies