Link to home
Start Free TrialLog in
Avatar of NAMEWITHELD12
NAMEWITHELD12Flag for United States of America

asked on

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


         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
Avatar of RyanShafer
RyanShafer
Flag of United States of America image

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.
Avatar of NAMEWITHELD12

ASKER

winrm will not start ,and i can not get into features , i think this thing is messed up good
ASKER CERTIFIED SOLUTION
Avatar of RyanShafer
RyanShafer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
MS did a setup /prepareAD to resolve