How to run powershell script through PSF Json file in a MSIX packaging?

Anu Jaykumar 0 Reputation points
2025-04-29T08:04:28.4733333+00:00

I need to create a shortcut under userprofile sendto folder through PSF +Json file in MSIX package. PowerShell script has created for shortcut creation and it is working manually as expected. But through json file , PowerShell script is not working due to executionpolicy restriction. How to bypass the execution policy in json fileerror-script.jpg

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,924 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.