Launch Exchange management shell error

asif ahamed 201 Reputation points
2021-08-11T01:57:24.98+00:00

I am trying to launch exchange management shell in my lab and get this error. It is Exchange 2019

VERBOSE: Connecting to EX01.teksite.org.
New-PSSession : [ex01.teksite.org] Connecting to remote server ex01.teksite.org failed with the following error
message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
the destination computer. The content type is absent or invalid. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1

  • New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Micr ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
    gTransportException
  • FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 20,491 Reputation points MVP Volunteer Moderator
    2021-08-11T03:08:04.117+00:00

    Check, if the Exchange Backend website bindings have a certificate assigned and is valid. Usually, a self signed SSL certificate is assigned. If not, assign it properly. If there is any issue like certificate expired or something, you may create a new certificate and assign it


  2. Yuki Sun-MSFT 41,451 Reputation points Moderator
    2021-08-12T04:27:45.463+00:00

    Hi @asif ahamed ,

    close this I will reinstall my lapsetup

    Have you already proceeded to reinstall the setup? If haven't, I'd suggest having a check via IIS manager to make sure it's point to the correct path:
    122601-1.png

    If it still doesn't help, agree with you that a reinstallation might be a quicker way to sort things out considering that it's a lab environment.

    And by the way, to close a question, you can click on the Gear icon for the question or answer(at the upper right corner) and choose "Close", see Closing a question.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.