You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to use Send-FalconPutFile to upload a file. I want to send a command to a batch of hosts to retrieve that file. I tried to use the format from the V1 set of commands, this previously worked
Send-RtrCommand -Id $Batch.batch_id -Command put -String file.msi
When I use the V2 commands, I wrote it like this.
Invoke-FalconAdminCommand -Command put -Arguments file.msi -BatchId $connect.batch_id
The error returned is "check your filename. could not find file.msi". I also tried with -Command get. I don't think the -Command part is the problem, I think I need to know how to reference the file. $pwd\ doesn't work
The text was updated successfully, but these errors were encountered:
It looks like you're referencing the file correctly.
Is it possible that the upload of the put file didn't work?
Can you confirm that the file is there?
I've seen the API do weird things when working with "Custom Scripts and Files" and effectively not be able to "find" files for scripts, so if you can see it, try deleting it, re-uploading and running again and then let me know if that does not work.
On Fri, Feb 19, 2021 at 6:04 PM bk-cs ***@***.***> wrote:
It looks like you're referencing the file correctly. Is it possible that
the upload of the put file didn't work? Can you confirm that the file is
there? I've seen the API do weird things when working with "Custom Scripts
and Files" and effectively not be able to "find" files for scripts, so if
you can see it, try deleting it, re-uploading and running again and then
let me know if that does not work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ2BB6UYCY6NQ2U3CSIYM63S734CRANCNFSM4X45RJ4A>
.
Ah, yes, when using many of the APIs you'll find that names (and associated filters) may be case sensitive. If you have an error or unexpected result, it's good practice to try again in lower case to see if that's the cause. Thanks for the follow-up!
I was able to use Send-FalconPutFile to upload a file. I want to send a command to a batch of hosts to retrieve that file. I tried to use the format from the V1 set of commands, this previously worked
Send-RtrCommand -Id $Batch.batch_id -Command put -String file.msi
When I use the V2 commands, I wrote it like this.
Invoke-FalconAdminCommand -Command put -Arguments file.msi -BatchId $connect.batch_id
The error returned is "check your filename. could not find file.msi". I also tried with -Command get. I don't think the -Command part is the problem, I think I need to know how to reference the file. $pwd\ doesn't work
The text was updated successfully, but these errors were encountered: