PS Execution Policy #87810
Unanswered
XXLMandalorian013
asked this question in
Ideas
PS Execution Policy
#87810
Replies: 1 comment 1 reply
-
The script is maintained by the community and frequent changes are made to it. If I remember correctly, the code signature changes every time, the script is modified, which is why it has not been digitally signed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I was getting ready to start my journey in creating a package for WinGet following the instructions here, and noticed the
YamlCreate.ps1
is not remote signed..\YamlCreate.ps1: File G:\GoogleDrive\Repos\winget-pkgs\Tools\YamlCreate.ps1 cannot be loaded. The file G:\GoogleDrive\Repos\winget-pkgs\Tools\YamlCreate.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.
Our current Org Machine policy is Local & RemoteSigned via GPO. I had to change the GPO for this machine to unrestricted temporarily to be able to run the
YamlCreate.ps1
.I propose someone on the project remote sign the .ps1.
Is there something I could be doing differently?
Was the expectation for me to remote sign it myself after cloning?
Look forward to hearing back!
Beta Was this translation helpful? Give feedback.
All reactions