- This topic has 3 replies, 2 voices, and was last updated 3 weeks, 6 days ago by
April 28, 2020 at 2:59 pm #223296
Hi, I am getting error when trying to install modules, any module. “install-module’ is not recognized as the name of a cmdlet,etc”
I have tried to follow ( https://powershell.org/forums/topic/the-term-install-module-is-not-recognized-as-the-name-of-a-cmdlet/)
I have downloaded the PowerShellGet, changed to zip and extracted files, delete the 4 items. Rename folder ‘fix.fix’ move the folder to one of the main module directories ( C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules) – still nada – its not even picking up the module (yep rebooted pc and checked again)
Windows 10, enterprise – use ISE and primalscript
April 28, 2020 at 4:03 pm #223305
Just tried another suggestion I saw in another posting – tried to install-module in psx86 and it let me install modules -hmmm – so the then ran
Install-Module -Name PowerShellGet -RequiredVersion 188.8.131.52 -Force -allowclobber – it worked
Then from normal PSx64 installed another module and it worked. Not really sure the cause but I know a fix for life now 🙂
-p.s. – not sure how to close this or if I can.
April 29, 2020 at 12:28 pm #223722
Hi, sorry to say something is still wrong. I went to install another module ins PSx64 and it said samething as before – “install-module’ is not recognized as the name of a cmdlet,etc”
If I run I use PSx86 it lets me install modules.
Thoughts on issue and fix?
April 29, 2020 at 3:25 pm #223770ParticipantTopics: 3Replies: 324Points: 1,056Rank: Community Hero
Yeah that makes no sense. Can you do an output of $psversiontable in both consoles and provide the output?
- You must be logged in to reply to this topic.