Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I tried to install MS Exchange 2010 on Windows Server 2008 R2. The installation went fine i.e. the wizard went through the process successfully.

Now when I run the get-exchangeserver inside the EMS get the following error. Any help will be highly appreciated.

PS C:\Users\administrator.ROOT> Get-ExchangeServer
The term 'Get-ExchangeServer' 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.
At line:1 char:19
+ Get-ExchangeServer <<<<
    + CategoryInfo          : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
share|improve this question

migrated from stackoverflow.com Apr 7 '11 at 10:37

This question came from our site for professional and enthusiast programmers.

    
Have you rebooted after the installation finished? –  Cheekaleak Apr 7 '11 at 12:00
add comment

2 Answers

More of a server thing I'd say, in any case...

Anonymous: Chances are you're running the script from a PowerShell prompt, instead of the Exchange Management Shell. Run the script from EMS and it should work.

(From comment in http://www.expta.com/2009/05/powershell-script-to-get-exchange.html)

Happy admin stuff.

share|improve this answer
    
Not quite, I am running it from EMS. –  Sanj Apr 7 '11 at 9:23
add comment
up vote 0 down vote accepted

I figured it was the IIS the stopped due to conflict with protocols. it kept shutting it down for some weird reason it is when i stopped sharepoint web service when it started working.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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