Hi.
I have created a power automate to run a command on a CMD and write on a blank Excel.
When i see the results it's look like that sometimes de Write CMD does not "press enter" on a command and saves the command like this
nslookup -type=mx xyz.com and doesn't have the results of command.
Anyone have an idea?
Solved! Go to Solution.
Hi @joaofuzinelli,
Could you please provide some more info?
Conceptually, the logic in the flow should look like this:
right?
You create a CMD session, pass it a command and then retrieve the output of that command and save in an Excel worksheet.
Also, from what I understand the issue you are facing is not constant, it happens randomly.
Try utilizing a Wait action after the execution of Write to CMD session.
You could utilize the Wait for text on CMD if you know that an exact output will be available at every execution or use a simple Wait action a set a small delay in seconds.
Best regards,
James
Hi @joaofuzinelli,
Could you please provide some more info?
Conceptually, the logic in the flow should look like this:
right?
You create a CMD session, pass it a command and then retrieve the output of that command and save in an Excel worksheet.
Also, from what I understand the issue you are facing is not constant, it happens randomly.
Try utilizing a Wait action after the execution of Write to CMD session.
You could utilize the Wait for text on CMD if you know that an exact output will be available at every execution or use a simple Wait action a set a small delay in seconds.
Best regards,
James
Hi James.
The problem was the wait between the Write on CMD and Read from CMD.
That's working fine now.
Thanks a lot!
User | Count |
---|---|
13 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
20 | |
17 | |
17 | |
12 | |
11 |