Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal-Icons.psm1 is not digitally signed #143

Open
mohaaron opened this issue Nov 7, 2024 · 2 comments
Open

Terminal-Icons.psm1 is not digitally signed #143

mohaaron opened this issue Nov 7, 2024 · 2 comments

Comments

@mohaaron
Copy link

mohaaron commented Nov 7, 2024

After executing the command Install-Module -Name Terminal-Icons -Repository PSGallery in PowerShell as Administrator I then execute the import command and get this error.

I have been able to run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass and then after this run Import-Module -Name Terminal-Icons but is this the right way to import?

Expected Behavior

Running Import-Module -Name Terminal-Icons works as expected without error

Current Behavior

When running Import-Module -Name Terminal-Icons PowerShell returns the error in the issue title.

@mohaaron
Copy link
Author

mohaaron commented Nov 7, 2024

I did just find that in Windows 10/11 System > For Developers there is a PowerShell setting that has to be updated to run unsigned scripts

@flamfoof
Copy link

If this error is about the $prefs error, I solved it by copying the contents of devblackops_color.xml -> prefs.xml and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants