Skip to content

Command status output on real time response #487

Answered by jshcodes
hermanmaleiane asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hermanmaleiane -

I believe the question is "Why am I getting a true back from RTR when the scan has not completed?".

This is because the complete you are receiving from the request to the RTR API is not an indication of the underlying command's status, just that the command you executed was run and returned the process. (eg. It "completed".)

This is why this value is true both times.

So for this scenario, you would want to:

  • execute the scan command
  • check that the command executed (by checking the value of complete looking for true)
  • then you would execute the followup "Get-MpComputerStatus" command to retrieve the scan results
  • again checking that the command executed by checking the v…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jshcodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
RTR Real Time Response issues and questions SDK usage General SDK usage issues and questions
2 participants