I am running windows 10 on a virtual machine and I would like to list the windows feature available by running the following commands on powershell:

Import-Module ServerManager
Get-WindowsFeature

Already running the first command produces: The specific module 'servermanager' was not loaded because no valid module file was found in any module directory.

I have tried to use the solution for Windows server 2008 Powershell Servermanager module not included in Windows Web Server 2008 R2 but that does not work for me, i.e. I cannot find the module in C:\Windows\System32\WindowsPowerShell\v1.0\Modules. Yet, I could not find how to switch between 64bit or 32bit Powershell in Windows 10. Any help? thank you

up vote 9 down vote accepted

You need to download and install 'Remote Server Administration Tools for Windows 10'. The download link is https://www.microsoft.com/en-au/download/details.aspx?id=45520

  • This must be accepted answer. – Teoman shipahi Dec 20 '17 at 18:16

You can use the x86 tag to identify which PS version you are starting up. See following picture: enter image description here

  • Thank you for the tip. However, I have tried to look into the 32bit version of Powershell but still I cannot run/find the 'servermanager' module... – diegus Feb 17 '16 at 11:12
  • You need the 64bit version. – Istvan Feb 17 '16 at 12:07
  • It is not true for me, I run Get-Module -ListAvailable on 64bit version of PS and the module I need is not on the list. – diegus Feb 20 '16 at 7:42
  • So non of the installations (32 & 64? has this module? – Istvan Feb 20 '16 at 8:52
  • Exactly, non of them (32bit and 64bit) has it. – diegus Feb 20 '16 at 9:29

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.