Hello All
if you are facing any issues while connecting to exchange server powershell with The WinRM client cannot process the request
There are many reason behind for the above errors, however the primary responsible is to check with the related services called "Windows Remote Management (WS-Management)"
if the service is not started automatically, we cannot connect exchange server power shell to execute any cmdlets
Make sure the above service is set to "AUTOMATIC" and STARTED.
Service Name : WinRM
Error :
Welcome to the Exchange Management Shell!
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> -?
Exchange team blog:
Get-ExBlog
Show full output for a
command: <command> | Format-List
Show quick reference
guide: QuickRef
VERBOSE: Connecting to
cmex01.cloudmonkeys.xyz.
New-PSSession :
[cmex01.cloudmonkeys.xyz] Connecting to remote server cmex01.cloudmonkeys.xyz
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 ...
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In my case. the WINRM service was set to - AUTOMATIC (Delayed Start)
After i set to AUTOMATIC and Restart the WINRM service, iam able to connect exchange server Powershell without any issue
I hope this would help us for troubleshooting powershell connectivity in exchange servers
Happy Learning all 😃
Comments
Post a Comment