web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Passing a power automa...
Power Automate
Answered

Passing a power automate desktop variable to a powershell script

(0) ShareShare
ReportReport
Posted on by 26

I have a variable in power automate desktop and I want to put it inside a powershell script that I have inside power automate desktop, how can I do it?

 

How can I make the power automate desktop variables communicate with the powershell code?

 

Thank you very much for your time.

I have the same question (0)
  • Verified answer
    OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    You can pass them by typing the variable name between %%, for example %VariableName%

     

    See docs

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard