Skip to content

Invoke FalconAdminCommand

bk-cs edited this page Sep 22, 2022 · 21 revisions

Invoke-FalconAdminCommand

SYNOPSIS

Issue a Real-time Response admin command to an existing single-host or batch session

DESCRIPTION

Requires 'Real Time Response (Admin): Write'.

PARAMETERS

Name Type Min Max Pattern Allowed Pipeline PipelineByName Description
Command String cat
cd
clear
cp
csrutil
cswindiag
encrypt
env
eventlog backup
eventlog export
eventlog list
eventlog view
filehash
get
getsid
help
history
ifconfig
ipconfig
kill
ls
map
memdump
mkdir
mount
mv
netstat
ps
put
put-and-run
reg delete
reg load
reg query
reg set
reg unload
restart
rm
run
runscript
shutdown
umount
unmap
update history
update install
update list
update install
users
xmemdump
zip
False False Real-time Response command
Argument String False False Arguments to include with the command
Timeout Int32 30 600 False False Length of time to wait for a result, in seconds
OptionalHostId String[] ^[a-fA-F0-9]{32}$ False False Restrict execution to specific host identifiers
SessionId String ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$ False True Session identifier
BatchId String ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$ False True Batch session identifier
Wait Switch False False Use 'Confirm-FalconAdminCommand' or 'Confirm-FalconGetFile' to retrieve command results

SYNTAX

Invoke-FalconAdminCommand [-Command] <String> [[-Argument] <String>] [[-Timeout] <Int32>] [[-OptionalHostId] 
<String[]>] -BatchId <String> [-Wait] [-WhatIf] [-Confirm] [<CommonParameters>]
Invoke-FalconAdminCommand [-Command] <String> [[-Argument] <String>] -SessionId <String> [-Wait] [-WhatIf] [-Confirm] <CommonParameters>]

Generated 20220922 using PSFalcon v2.2.3

Clone this wiki locally