How to Open PDF file via Windows Store App from Powershell script

Md. Zakir Hossain 21 Reputation points
2022-08-29T07:00:11.23+00:00

I want to open PDF file using Windows Store Application like Samsung Note. I tried below code

start shell:appsfolder\SAMSUNGELECTRONICSCoLtd.SamsungNotes_wyx1vj98g3asy!App "C:\Users\zakir\Desktop\TestPage.pdf"  

But this script open Samsung Note Application. But Not open PDF file. But if right click on PDF file and open with "Samsung Note" then PDF file open with Samsung Note. I need help regarding this.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,355 questions
0 comments No comments
{count} votes