Click here to Skip to main content
15,900,818 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Getting below error after importing server manager.
Working on 32 bit system. 64 bit system code is working fine.

get-windowsfeature : The term 'get-windowsfeature' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.

Need an alternative command for get-windowsfeature

Ha...Wouldn't you know it? After searching for over an hour, found the answer straight after posting.
Needs to be compiled only in x64. Project > Properties > Build > Platform Target x64.
Share this answer
I am having the same issue and unable to find an answer. Would love feedback on this if anyone has a solution. Thanks in advance
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900