Avatar of NAMEWITHELD12
NAMEWITHELD12
Flag 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
ExchangeOutlookMicrosoft Applications

Avatar of undefined
Last Comment
NAMEWITHELD12

8/22/2022 - Mon
RyanShafer

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

ASKER
winrm will not start ,and i can not get into features , i think this thing is messed up good
ASKER CERTIFIED SOLUTION
RyanShafer

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
NAMEWITHELD12

ASKER
MS did a setup /prepareAD to resolve
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23