Problem in power shell with “Install-windowsFeature” or “Add-WindowsFeature”
Under power shell I got the following error message when using the Install-WindowsFeature command…see below..
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\Users\administrator.TECHLABTEST> import-module servermanager
PS C:\Users\administrator.TECHLABTEST> Install-WindowsFeature
Install-WindowsFeature : The term ‘Install-WindowsFeature’ is not recognized as the name of a cmdlet
file, or operable program. Check the spelling of the name, or if a path was included, verify that th
and try again.
At line:1 char:1
+ CategoryInfo : ObjectNotFound: (Install-WindowsFeature:String) , CommandNotFoundExc
+ FullyQualifiedErrorId : CommandNotFoundException
1- What are the permissions that you are running that powershell prompt within? Domain / Local admin?
2- Also, make sure you are not running the 32 bit version of powershell.
de ná !