Exhchange 2010 connect to CLI error , what would the next steps be to fix , what logs should i look at?

NAMEWITHELD12
NAMEWITHELD12 used Ask the Experts™
on

         Welcome to the Exchange Management Shell!

Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Show quick reference guide: QuickRef
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List

Tip of the day #42:

Need an easy way to add a new primary SMTP address to a group of mailboxes? The following command creates a new e-mail a
ddress policy that assigns the @contoso.com domain to the primary SMTP address of all mailboxes with Contoso in the comp
any field:

 New-EmailAddressPolicy -Name Contoso -RecipientFilter {Company -Eq "Contoso"} -EnabledPrimarySMTPAddressTemplate "@cont
oso.com"

VERBOSE: Connecting to xxxx.yyyy.com
[bdcva.tmgva1.com] Connecting to remote server failed with the following error message : The WinRM client received an H
TTP server error status (500), but the remote service did not include any other information about the cause of the fail
ure. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed
VERBOSE: Connecting to xxxx.yyyy.com
[bdcva.tmgva1.com] Connecting to remote server failed with the following error message : The WinRM client received an H
TTP server error status (500), but the remote service did not include any other information about the cause of the fail
ure. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed
VERBOSE: Connecting to xxxxx.yyyycom
[bdcva.tmgva1.com] Connecting to remote server failed with the following error message : The WinRM client received an H
TTP server error status (500), but the remote service did not include any other information about the cause of the fail
ure. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
First two things I would try is opening up powershell and running:

winrm quickconfig

This should give a nice message about success.  If not please post the output here.

Also with the 500 error I would go into server manager and check to make sure that the Feature:

WinRM IIS Extension is installed.  If it is try uninstalling and access cli if still fail then reinstall try again.

Finally within IIS on an exchange server check to make sure that the Powershell Application is listed under your website and that the user you are trying to access the shell with has the appropriate permissions to this directory.

Author

Commented:
winrm will not start ,and i can not get into features , i think this thing is messed up good
Not getting into features under server manager leads me to believe it may be ,"messed up good."  Obviously give it a restart and see if you can access any of these features, but if not you may be looking at a reinstall good sir.

Author

Commented:
MS did a setup /prepareAD to resolve

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial