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

Does not work on nano-server docker image #1

Open
artisticcheese opened this issue Nov 25, 2022 · 2 comments
Open

Does not work on nano-server docker image #1

artisticcheese opened this issue Nov 25, 2022 · 2 comments

Comments

@artisticcheese
Copy link

Getting following error during PSEdit installation
docker run -it mcr.microsoft.com/powershell:7.3-nanoserver-1809

PowerShell 7.3.0
PS C:\> install-module psedit

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): a
Install-Package: The module 'psedit' cannot be installed or updated because the authenticode signature of the file 'psedit.psd1' is not valid.
PS C:\>
@adamdriscoll
Copy link
Member

We might need to code sign the module. What's your execution policy set to?

@artisticcheese
Copy link
Author

This is default nano-server container. It comes with RemoteSigned out of the box. mcr.microsoft.com/powershell:7.3-nanoserver-1809

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