Add-WindowsFeature cmdlet to install the necessary operating system components
		
	We ran in ps as admin the below command IAW following technet article on our 2008r2 server  
http://technet.microsoft.com/en-us/library/bb691354.aspx 
  "Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy
 -Restart"
Received following error
The term 'Add-WindowsFeature' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
eck the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:19
+ Add-WindowsFeature <<<<  NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,
Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Acti
vation,RPC-Over-HTTP-Proxy -Restart
    + CategoryInfo          : ObjectNotFound: (Add-WindowsFeature:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
We have performed all procedures up to this point in above prerequisites list of above.
Anything we are missing which is possible as this is a tricky process exch 2003 -> exch2010
Thanks
Craig
 Craig		
				March 9th, 2011 4:31pm
			Craig,
First run this cmdlet before running the one you mentioned:
Import-Module ServerManager
then
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy
 -Restart
Regards,
Johan
Exchange-blog: www.johanveldhuis.nl		
				Free Windows Admin Tool Kit Click here and download it now
					March 9th, 2011 4:40pm
			Johan
Thanks, as I mentioned, I did all steps listed before that so I did run that cmdlet.  But I'll try a second time and see if that makes a diff
CraigCraig		
				March 9th, 2011 7:47pm
			Hi Craig,
 
Any update on your issue?
Have you tried the command Add-WindowsFeature second time? And how things going on?
 
Best regards,
SerenaPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.		
				Free Windows Admin Tool Kit Click here and download it now
					March 16th, 2011 4:34am
			I reran both and it ran OK this time.    Not sure what it was, possibly didnt run as admin?
thanks
 
CraigCraig		
				March 16th, 2011 4:57pm
			

