How get text from CMD

Hello, I would like to know how I can extract all the information that the CMD gives me, and how to search for specific data within this information.

Invoke Power Shell or Invoke Command activities to execute Command Prompt (CMD) commands and capture their output.

And if you need to search with specific text in that you can use regular expressions or string manipulation methods on the output.

If you provide the details we can give more information for your out but we extraction with regex you can easily get your output … Try once


Could you give me an example of the capture?

UiPath has specific activities for powershell or cmd?



Please check this on how to use power shell activiites and get responses



The following post might help you. We can get content of stdout and stderr as string variable from executed process.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.