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 / How to uniquely identi...
Power Automate
Unanswered

How to uniquely identify multiple instances of a WPF application

(0) ShareShare
ReportReport
Posted on by 20

I want to be able to open 2 instances (but different versions) of a WPF application and perform actions on each. Their titles are the same, is there another way to distinguish them? Perhaps window handles, but how can I retrieve them?

  • pollyo Profile Picture
    20 on at

    Found an answer with Powershell (not a complete script, just the essential part:)

     

    Start the first instance and get it's handle:

    (Get-Process ${appname}).MainWindowHandle

    Then start the next instance, run the PS script again, get 2 handles and the new one is the 2nd instance handle.

     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard