Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"WinRM client cannot complete the operation within the time specified" error when you use remote Windows PowerShell to connect to Exchange Online


View products that this article applies to.

Problem

When you try to send a remote command to a computer that's not enabled for Windows PowerShell remote access, you receive the following error message:
The WinRM client cannot complete the operation within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled.

↑ Back to the top


Solution

To resolve this issue, follow these steps:
  1. Connect to Exchange Online by using remote PowerShell. For more information about how to do this, go to Connect to Exchange Online using Remote PowerShell.
  2. Run the following cmdlet:
    Enable-PSremoting -force
    A result is returned that resembles the following:

↑ Back to the top


Still need help? Go to the Office 365 Community website.

↑ Back to the top


Keywords: o365, o365a, o365e, o365p, o365062011, o365022013, pre-upgrade, after, upgrade, kbgraphxlink, o365m, KB2905723

↑ Back to the top

Article Info
Article ID : 2905723
Revision : 4
Created on : 12/2/2013
Published on : 12/2/2013
Exists online : False
Views : 284