Skip to content

CD does not appear to be working #93

Answered by bk-cs
ora asked this question in Q&A
Discussion options

You must be logged in to vote

I confirmed with the Real-time Response API team that Invoke-FalconRTR is causing this to happen. Because Invoke-FalconRTR is designed for one command at a time (not a multi-step workflow), it re-initializes the existing session when you run it a second time, causing your new commands to operate out of the system root folder.

To fix this problem, You can follow the batch example...

$Session = Start-FalconSession -HostIds <one or more ids>
$Cd = Invoke-FalconCommand -Command cd -Arguments <destination path> -BatchId $Session.batch_id
$Put = Invoke-FalconAdminCommand -Command put -Arguments <filename> -BatchId $Session.batch_id

Or you can use the single host commands and make sure that you…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bk-cs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #58 on September 24, 2021 15:20.