Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, June 7, 2017 1:50 PM
Hi All,
While Starting Exchange Server Management Shell. I get the following error, I can ping my Active Directory Server & I can login with new domain name also on the server 2012 r2, I dont know how to solve the same, Kindly help.
New-PSSession : [ex01.systems.in] Connecting to remote server ex01.systems.in failed with the
following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that
the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows
access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote
computers within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
- New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
-
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : WinRMOperationTimeout,PSSessionOpenFailed
Exception calling "FindAll" with "0" argument(s): "Unknown error (0x80005000)"
At C:\Program Files\Microsoft\Exchange Server\V15\bin\ConnectFunctions.ps1:253 char:2
- $search.FindAll()
- ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : COMException
WARNING: No Exchange servers are available in the Active Directory site Default-First-Site-Name. Connecting to an
Exchange server in another Active Directory site.
Thanks & Regards, D.Nithyananthan.
All replies (1)
Thursday, June 8, 2017 8:15 AM | 1 vote
Hi Nithyananthan,
Try to enable WinRM via GPO and check again, as below:
1. Open "Group Policy Management" > Edit "Default Domain Policy" >Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Remote Management (WinRM) > WinRM Service > "Allow remote server management trough WinRM":
2. Computer Configurations > Policies > Security Settings > Windows Firewall and Advanced Security > Windows Firewall and Advanced Security > right click on “Inbound Rules” > click on the “New Rule…” option:
Details about enabling WinRM via GPO see: How to enable WinRM via Group Policy.
Best Regards,
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers.
If you have feedback for TechNet Subscriber Support, contact [email protected].