Announcements
Hi Everyone,
I'm trying to fetch the domain name (whoami) from CMD through Power Automate Desktop but unable to achieve it.
So, how to retrieve a value from CMD and store it in a variable?
Please help me out on this.
Regards,
Harsha Vardhan.
Output variable should store the result.
Hello @Harshavardhan
The CmdOutput variable coming from the "Read.." action will give the output of the command
If you want the entire text else Run dos command will suffice your requirement.
Hi Henrik,
Thanks and it worked fine.
I have another issue which I am being faced. I am trying to give access to my colleague as User level access to my group environment. Is it possible run the flow from cloud.
Hello all thread members,
What is the difference between
Run DOS Command
and
CMD Session
and which to use when?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
David_MA 274 Super User 2026 Season 1
11manish 175
Haque 166