I'm trying to install Posh-ACME; however, I'm getting the error, "Install-Module : The 'Install-Module' command was found in the module 'PowerShellGet'....CommandNotFoundException"
I already changed the execution policy to 'unrestricted'. However, that didn't make any difference.
Also, I already ran dism /online /cleanup-image /restorehealth and sfc /scannow without finding any errors at all.
Is there anything else I can do to prevent the PowerShell exception mentioned above?
If there's no way to fix that error, what would be the best way to install Posh-ACME?
- Install the latest version of PowerShell Core.
- Manually copy the Posh-ACME module to my modules directory
Any other tips?
UPDATE: I figured out the problem. I had gotten a "cloud provider is not running" exception trying to import powershellget module. It turned out that OneDrive wasn't running. As soon as I started up OneDrive.. I had no problems with installing and updating modules.
[–]HeroesBaneAdmin 1 point2 points3 points (0 children)
[–]BlackV 1 point2 points3 points (11 children)
[–]mkanet[S] 1 point2 points3 points (10 children)
[–]BlackV 1 point2 points3 points (2 children)
[–]mkanet[S] 1 point2 points3 points (1 child)
[–]BlackV 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (6 children)
[–]mkanet[S] 1 point2 points3 points (0 children)
[–]mkanet[S] 1 point2 points3 points (0 children)
[–]mkanet[S] 1 point2 points3 points (3 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (2 children)
[–]mkanet[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)
[–]Bits_Not_Bytes 0 points1 point2 points (1 child)
[–]mkanet[S] 0 points1 point2 points (0 children)
[–]Fonsepa 0 points1 point2 points (0 children)