I am trying to auto start a PowerApps app in Windows 10 using a Powershell script. After some research I discovered how to start the Windows 10 PowerApps app in Powershell using the command "Start shell:AppsFolder\Microsoft.MSapps_8wekyb3d8bbwe!App". However I have not been able to figure out how to pass it the name of the particular app we want to automatically start when we open the PowerApps app. I can do this manually by pinning the particular app, after opening PowerApps, to the Windows 10 start menu as a tile. So I know it can be done but I can't figure out how to duplicate this using the Powershell command. Seems like it should be a parameter to pass or something like that but I can't figure out how to do it.
Hi @hpshaiti ,
Could you please share a bit more about your scenario?
Do you want to open a specific canvas app through PowerApps Desktop Client using PowerShell command?
If you want to open a specific canvas app through PowerApps Desktop Client using PowerShell command, I afraid that there is no way to achieve your needs in PowerApps currently.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
Wait are you saying this is something that could be added to PowerApps? That doesn't seem logical to me. What I'm looking for is not something in the app but a way in Windows 10 to start the app, or rather start the PowerApps Desktop Client and then pass it a parameter to start a particular app. Again it seems obvious to me this can be done because that is what happens when a app is pinned to a start tile. When you click that tile some kind of a Windows command is executed. How do I find that command?
To give more details on our application, we are using a PowerApp as a way to display information on a public screen. And it needs to be visible 24/7. So we need a way to restart the app every 8 hrs. when PowerApps times out and also at times when Windows 10 automatically processes updates and restarts. The idea is to use a Powershell script and the Scheduler. We have found the Windows 10 start command for the PowerApps Desktop Client but cannot figure out a way to start it and open that particular app.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights