Exchange Management Shell does not connect to server

Hi,
Can't connect to server with Exchange Management Shell.
Restart, IISRESET etc. does not help.
Method :
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri EXCHSERVER.CONTOSO.COM/PowerShell/ -Authentication Kerberos
Import-PSSession $Session
also does not work.
Error:
VERBOSE: Connecting to EXCHSERVER.CONTOSO.COM.
New-PSSession : [EXCHSERVER.CONTOSO.COM] Connecting to remote server EXCHSERVER.CONTOSO.COM failed with the following
 error message : The WS-Management service cannot process the request. The load quota for the system has been exceeded.
 Send future requests at a slower rate or raise the system quota. For more information, see the about_Remote_Troublesho
oting 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 : -2144108120,PSSessionOpenFailed
VERBOSE: Connecting to EXCHSERVER.CONTOSO.COM.
New-PSSession : [EXCHSERVER.CONTOSO.COM] Connecting to remote server EXCHSERVER.CONTOSO.COM failed with the following
 error message : The WS-Management service cannot process the request. The load quota for the system has been exceeded.
 Send future requests at a slower rate or raise the system quota. For more information, see the about_Remote_Troublesho
oting 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 : -2144108120,PSSessionOpenFailed

Run a normal powershell
Import the Exchange server 2010 snapin and get the current certificates
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
PS C:\Users\Administrator> Get-ExchangeCertificate
Thumbprint Services Subject
084B2597D626C5361CF8002FADBEA83B9144143D IP.WS. CN=trapoist.com, OU=Domain Control Validated
76C7987A7A9C7F9917A6A1B208220CA768CE0D23 IP..S. CN=trapoist.com, OU=Domain Control Validated
Get-ExchangeCertificate | select *
AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAcces
sRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {trapoist.com, www.trapoist.com, autodiscover.trapoist.com, IMAP.trapoist.com...}
CertificateRequest :
IisServices : {IIS://MAILTRAPOIST/W3SVC/1}
IsSelfSigned : False
KeyIdentifier : 36A0EC10B4503C5DBF51815A50F442D9404BE04E
RootCAType : ThirdParty
Services : IMAP, POP, IIS, SMTP
Status : Valid
SubjectKeyIdentifier : 36A0EC10B4503C5DBF51815A50F442D9404BE04E
PrivateKeyExportable : True
PublicKeySize : 2048
ServicesStringForm : IP.WS.
Archived : False
Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptograph
y.Oid, System.Security.Cryptography.Oid...}
FriendlyName : trapoist.com
IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
NotAfter : 8/9/2015 4:06:40 PM (SE VENCERA EL 8 DE SEPTIEMBRE)
NotBefore : 8/5/2014 7:39:01 PM
HasPrivateKey : True
PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider
PublicKey : System.Security.Cryptography.X509Certificates.PublicKey
RawData : {48, 130, 5, 128...}
SerialNumber : 27B309845C2696
SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm : System.Security.Cryptography.Oid
Thumbprint : 084B2597D626C5361CF8002FADBEA83B9144143D
Version : 3
Handle : 485017248
Issuer : CN=Go Daddy Secure Certificate Authority - G2, OU=http://certs.godaddy.com/repository/, O="GoDad
dy.com, Inc.", L=Scottsdale, S=Arizona, C=US
Subject : CN=trapoist.com, OU=Domain Control Validated
AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAcces
sRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {trapoist.com, www.trapoist.com, autodiscover.trapoist.com, mail.trapoist.com...}
CertificateRequest :
IisServices : {}
IsSelfSigned : False
KeyIdentifier : 54B2B188FA07098417B50DF52BDC0A41E44C9234
RootCAType : ThirdParty
Services : IMAP, POP, SMTP
Status : DateInvalid
SubjectKeyIdentifier : 54B2B188FA07098417B50DF52BDC0A41E44C9234
PrivateKeyExportable : True
PublicKeySize : 2048
ServicesStringForm : IP..S.
Archived : False
Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptograph
y.Oid, System.Security.Cryptography.Oid...}
FriendlyName : trapoist.com
IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
NotAfter : 8/9/2014 4:06:40 PM
NotBefore : 8/12/2013 2:29:54 PM
HasPrivateKey : True
PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider
PublicKey : System.Security.Cryptography.X509Certificates.PublicKey
RawData : {48, 130, 5, 161...}
SerialNumber : 042D71441FC05E
SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm : System.Security.Cryptography.Oid
Thumbprint : 76C7987A7A9C7F9917A6A1B208220CA768CE0D23
Version : 3
Handle : 485016480
Issuer : SERIALNUMBER=07969287, CN=Go Daddy Secure Certification Authority, OU=http://certificates.godadd
y.com/repository, O="GoDaddy.com, Inc.", L=Scottsdale, S=Arizona, C=US
Subject : CN=trapoist.com, OU=Domain Control Validated
Renew the expired selfsigned certificate
PS C:\Users\Administrator> Get-ExchangeCertificate -Thumbprint '76C7987A7A9C7F9917A6A1B208220CA768CE0D23' | New-ExchangeCertificate
 Confirm
Overwrite the existing default SMTP certificate?
 Current certificate: '76C7987A7A9C7F9917A6A1B208220CA768CE0D23' (expires 8/9/2014 4:06:40 PM)
Replace it with certificate: 'C3FBFA049FE6AC1806B950EB7A7AF8286EE04880' (expires 4/13/2020 12:56:34 PM)
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): Y
 Thumbprint                               
Services   Subject
C3FBFA049FE6AC1806B950EB7A7AF8286EE04880  IP..S.     OU=Domain Control Validated, CN=trapoist.com
PS C:\Users\Administrator> Get-ExchangeCertificate
Thumbprint                                Services   Subject
C3FBFA049FE6AC1806B950EB7A7AF8286EE04880  IP..S.     OU=Domain Control Validated, CN=trapoist.com
084B2597D626C5361CF8002FADBEA83B9144143D  IP.WS.     CN=trapoist.com, OU=Domain Control Validated
76C7987A7A9C7F9917A6A1B208220CA768CE0D23  IP..S.     CN=trapoist.com, OU=Domain Control Validated
#DELETE THE OLD CERTIFICATE (EXPIRED)
PS C:\Users\Administrator> Remove-ExchangeCertificate -Thumbprint 76C7987A7A9C7F9917A6A1B208220CA768CE0D23
Confirm
Are you sure you want to perform this action?
Remove certificate with thumbprint 76C7987A7A9C7F9917A6A1B208220CA768CE0D23 from the computer's certificate store?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): Y
PS C:\Users\Administrator> Get-ExchangeCertificate
Thumbprint                                Services   Subject
C3FBFA049FE6AC1806B950EB7A7AF8286EE04880  IP..S.     OU=Domain Control Validated, CN=trapoist.com
084B2597D626C5361CF8002FADBEA83B9144143D  IP.WS.     CN=trapoist.com, OU=Domain Control Validated
#CALLING CMD TO RESET THE IIS.
PS C:\Users\Administrator> cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
#RESET EL IIS
C:\Users\Administrator>iisreset
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
Done

Similar Messages

  • Exchange Management Shell prompt for connection credentials?

    Some time ago I came across an article where a couple of modifications to the shortcut to the EMS would allow a connection to a specific server and then prompt for credentials for that connection.
    Removing the -auto and replacing with -serverFQDN [servername] covers the 1st part, but I can't recall what allowed the prompt for credentials to the other machine.
    I'm looking do do this from a Win7 machine, where I must login with one account but another account has Exchange permissions.
    It's driving me nuts, because I had it working and lost the shortcut in a machine reload and can't recall what I had done.

    Slightly modified, but nothing important was removed.
    C:\Users\[loginid]>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ver sion 2.0 -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin \RemoteExchange.ps1'; Connect-ExchangeServer -ServerFQDN [servername] -Credential (Get-Credential)"
             Welcome to the Exchange Management Shell!
    <tip snipped>
    cmdlet Get-Credential at command pipeline position 1 Supply values for the following parameters:
    Credential
    VERBOSE: Connecting to [servername]
    [servername] Connecting to remote server failed with the following error message : Access is denied. For more informati on, 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.:
    Doing a New-PSSessoin using the same credentials is successful.
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
    http://[servername]/PowerShell/ -Authentication Kerberos -Credential $UserCredential import-pssession $Session
    cmdlet Get-Credential at command pipeline position 1 Supply values for the following parameters:
    Credential
    WARNING: Some imported command names include unapproved verbs which might make them less discoverable. 
    Use the Verbose  parameter for more detail or type Get-Verb to see the list of approved verbs.
    ModuleType Name                               
    ExportedCommands
    Script     tmp_e9ed0738-3c62-458b-bdc8-7451...
    PS C:\
    Using CAC login, or domain/username/password produces the same results.

  • Scheduled Task for Exchange Management Shell is not working

    I am using a command in exchange management shell to get some information of mailbox users.
    When I run it form the exchange management shell it works fine without any issues. However when I schedule it using the Task Scheduler it doesn't work and the Last Run Result output is 0X1.
    The General settings are Run Whether user is logged on or not and Run with Highest Privileges.
    Please note that I have not saved the command. I have directly added it in the Add arguments field.
    Please help.

    Hi,
    For Windows Task related issues, I suggest we post it on Windows Server forum:
    http://social.microsoft.com/Forums/en-US/home?category=windowshomeserver
    Thanks,
    Simon Wu
    TechNet Community Support

  • BB recognized by computer & Desktop Manager, but does not connect?

    All right, I've scoured these forums and can't figure this out. Tell me if I've missed something.
    Blackberry is recognized by my computer AND by Desktop Manager, but does not fully connect so I can sync. I can see it in My Computer, and the Desktop Manager does recognize the model of smartphone when it's plugged in. Both Windows, and Desktop Manager ask me for my password when I connect the USB cord. However, it just says 'connecting' in the bottom right, and never gets past that. When the phone is initially plugged in, the screen goes to the clock (normal), and flashes the 'connection' screen (BB and computer icons connecting with a cord). It flashes that screen twice then goes back to the clock. The Desktop Manager then just keeps trying to connect, until I unplug it. Both the computer and desktop manager recognize when I've unplugged it.
    Running:
    Windows 7, 64bit
    Desktop Manager 6.1.0.35
    Blackberry Tour 9630
    This is a new computer. I was running Windows XP with Desktop Manager 6.1.0.35 previously, and it worked no problem, but that is no longer an option.
    The goal is to be able to sync with Outlook 2007. Need very badly to be able to do this.
    Did all the simple stuff:
    Oh so many Windows restarts,
    Blackberry battery pull, both unplugged and plugged into computer with Desktop Manager running,
    Desktop manager reinstall,
    plugged into every different USB port,
    tried a different cord.
    Went deeper:
    BB USB drivers fully up to date
    Turned OFF USB power management on all my ports in device manager,
    Disabled USB selective suspend setting
    Deleted my intellisync folder in appdata/roaming,
    Turned off Windows UAC notifications,
    Tried every combination of BB memory compression on and off, or mass storage mode on and off,
    There might be more I've tried but don't remember. I've been searching the net for days now.
    Please let me know if there's anything else I can try. This is a serious issue for me right now, I need to be able to sync with Outlook 2007.
    Thanks in advance

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • SSRS Database Configuration Manager Error - Could not connect to server: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception

    I'm Getting the "Could not connect to server: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception" Error on an existing Instance of SSRS that had been working previously (lots of installs/patches since).
    Any time I try to hit the "Test Connection" button on existing connections or create new ones from the SSRS Config Mgr., it throws that error.
    I know the SQL Server connectivity works (I have SSMS installed on there and can cut and paste server Login to connect). The problem is I can't really get any more details on the error...Event Viewer isn't logging anything, I have upped the trace level
    to 4 in the reportingservicesservice.config file, I have even watched it with procmon and nothing obvious pops up.
    Let me know if anyone else has been down this path and what they have tried.

    Hi BillOlive,
    Based on my research, the issue may be related to user access permission. You can refer to the following method to troubleshooting the issue:
    Open C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG folder | right click on the machine.config file | Properties | Security | make sure your domain account has FULL CONTROL permission on this file.
    If above steps still do not work, please backup your machine.config file to somewhere else and replace with the attached one from my Windows Server 2008 environment.
    Alternatively, app.config file also may cause the same issue. There is a similar issue, you can refer to it.
    http://stackoverflow.com/questions/6922879/exception-type-initializer-for-system-data-sqlclient-sqlconnection
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • A pop-up window advising of software update for Firefox appears and does not connect with server

    The window suggests strongly that I update software but when I attempt to update it does nothing but try to connect with server and never does

    * http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the updates and updates\0 folder.
    You may need to delete active-update.xml and updates.xml as well if present.<br />
    XP:
    C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
    (%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox)
    If you have problems with updating then best is to download the full version and uninstall the currently installed version.
    You may need to remove the Firefox program folder to do a clean install of the new version.
    Do a clean (re-)install:
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Do not remove personal data if you uninstall the current version.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • Flash does not connect to server in some computers

    hi, i have this thing: there is an app that has been finished (i hope) and it seems to work ok, this flash loads about 1Mb of flash app, then loads some stuff from the server via xml, generated through a script. as i said, it works ok in some computers, but somebody tells me that in other devices, the flash loads fine, but it gets stuck while loading from the server (it wont go further than the splash theat says 'loading contents'). Since is flash, i assume it is computer independent (it is not like the html, where each device may chow it different according to browser and setup; since is flash it will show and load just as the flash would load everywhere else); but as it seems it gets stuck right when loading the xml, after the flash has loaded (the flash loads the xml from the server), what may be causing this? is there any 'flash option' that may be interfering the flash from loading the xml content?
    tnx

    exactly that; It loads a flash video which weights about 1 meg, which is used to edit and create content. After the flash finishes loading, it will try to load from the server the current state of the content, and it reads it from a script in xml form. The content editor (the flash) weights about 1 meg; the xml is generally very short, but can change size, and is the only thing it loads, besides data from a static text file that has not changed. In some computers, it loads ok, in other computers, it loads the flash editor but gets stuck after that (it does not load the xml or so it seems, so it neither jumps to the menu or to the error frame)
    ----edit----
    Imagine a youtube kinda site (other thing than videos), but which loads the flash video player, but the video player is not able to load the video, very similar to this case

  • After upgrade to Maverick Mail does not connect to server to download emails

    Since I have had my system upgraded to Maverick I can no longer download emails from my server/provider. Mail asks for the password for the user (me) and when I type it in nothing happens.
    There is no problem connecting to my server/provider online, so the server is working ok. My guess is that I am missing some crucial ticked or unticked box in the mail set up. I just don't want to mess around with it without knowing what I need to do. If anyone out there has a solution, pls send a step by step.
    Any help appreciated, replies might be slow - like I said, no email alerts of mails getting through at the moment (so have to read everything only when I'm online...).

    Restart your router and your broadband device, if they're separate. If there's no change, see below.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Security up date spins and does not connect with server. Cannot complet update. How do I fix this?

    Hi,
    I get notice that Firefox security has an update. I select. The update spins and says"connecting to the update server," and never does. It just keeps spinning.
    I have tried to up date thru the Firefox website unsuccessfully.
    How can I fix this situation?
    Thanks

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • Unable to connect to local Exchange 2013 server when opening Exchange Management shell

    Hi Everyone
    Yesterday evenything was working fine, and then this morning, I`m unable to establish a connection with the Exchange shell. I receive the following errors. Any help is appreciated.
             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 #55:
    Want to view the mounted status of all mailbox databases? Type:
     Get-MailboxDatabase -Status | Format-Table Name, Server, Mounted
    VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
    New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
    message : The client cannot connect to the destination specified in the request. Verify that the service on the
    destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
    running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
    command on the destination to analyze and configure the WinRM service: "winrm quickconfig". 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 : CannotConnect,PSSessionOpenFailed
    VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
    New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
    message : The client cannot connect to the destination specified in the request. Verify that the service on the
    destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
    running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
    command on the destination to analyze and configure the WinRM service: "winrm quickconfig". 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 : CannotConnect,PSSessionOpenFailed
    VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
    New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
    message : The client cannot connect to the destination specified in the request. Verify that the service on the
    destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
    running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
    command on the destination to analyze and configure the WinRM service: "winrm quickconfig". 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 : CannotConnect,PSSessionOpenFailed
    VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
    New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
    message : The client cannot connect to the destination specified in the request. Verify that the service on the
    destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
    running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
    command on the destination to analyze and configure the WinRM service: "winrm quickconfig". 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 : CannotConnect,PSSessionOpenFailed
    VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
    New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
    message : The client cannot connect to the destination specified in the request. Verify that the service on the
    destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
    running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
    command on the destination to analyze and configure the WinRM service: "winrm quickconfig". 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 : CannotConnect,PSSessionOpenFailed
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.:
    VERBOSE: Connecting to .
    New-PSSession : Cannot bind parameter 'ConnectionUri'. Cannot convert value
    "http:///powershell?serializationLevel=Full;ExchClientVer=15.0.516.32;clientApplication=ManagementShell;TargetServer="
    to type "System.Uri". Error: "Invalid URI: The hostname could not be parsed."
    At line:1 char:30
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    +                              ~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [New-PSSession], ParameterBindingException
        + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.NewPSSessionCommand
    [PS] C:\Windows\system32>
    Ernie Prescott
    Updated information.
    I can succussfully connect to the exchange powershell from a remote computer, using this method.
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
    http://<FQDN of Exchange 2013 Client Access server>/PowerShell/ -Authentication Kerberos
    Import-PSSession $Session
    So the problem is localised on the server.
    Regards

    Hi
    Try the steps for Error 1 on this link
    http://www.petenetlive.com/KB/Article/0000477.htm
    Hope it will help
    Cheers
    If you have any feedback on our support, please click
    here
    Zi Feng
    TechNet Community Support

  • Error connecting to the Exchange Management Shell - and no one can connect w/ Outlook or OWA

    Whew - I'm not sure what's happening but everything blew up this morning when another admin rebooted the server...
    I can't connect to the Exchange Management shell - I get this:
    [<servername>.<domainname>.local] Connecting to remote server failed with the following error message : WS-Management cannot process the request. The operation failed because of an HTTP error. The HTTP error (12152) is: The server returned
    an invalid or unrecognized response . For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException   
    + FullyQualifiedErrorId : PSSessionOpenFailed
    And in digging around, re-running the sharepoint PSConfig appeard to be a fix for a related issue I was reading about, and since there didn't seemt to be any harm in running it again (I did find the technote and had manually ran it after SP1 was installed)
    I ran it and this is an excerpt from the log:
    09/08/2011 16:48:05  1  INF                      Entering function Farm.Clear
    09/08/2011 16:48:05  1  INF                        Entering function CentralAdminServiceInstance.Reset
    09/08/2011 16:48:05  1  INF                        Leaving function CentralAdminServiceInstance.Reset
    09/08/2011 16:48:05  1  INF                      Leaving function Farm.Clear
    09/08/2011 16:48:05  1  INF                    Leaving function Farm.TryIsJoinedToFarm
    09/08/2011 16:48:05  1  ERR                    A failure has been encountered when trying to load the Farm
    09/08/2011 16:48:05  1  INF                    Entering function StringResourceManager.GetResourceString
    09/08/2011 16:48:05  1  INF                      Resource id to be retrieved is FarmIsJoinedFailureWhileUsingCommandLine for language English
    (United States)
    09/08/2011 16:48:05  1  INF                      Resource retrieved id FarmIsJoinedFailureWhileUsingCommandLine is Failed to detect if this
    server is joined to a server farm.  Possible reasons for this failure could be that you no longer have the appropriate permissions to the server farm, the database server hosting the server farm is unresponsive, the configuration database is inaccessible
    or this server has been removed from the server farm.  To diagnose this problem further, review the extended error information located at {0}.  If this problem persists, run this wizard again to disconnect from the server farm.  After disconnecting,
    run the wizard again to create or connect to an existing server farm.
    So I seem to have some massive permissions issues.  Is there any kind  of a technote or walkthrough that can step me through verifying what permissions should be where?  The connect to Internet Wizard won't complete complaining it can't configure
    the email and to run it again.  That caused the Set Up your Internet Address wizard to not run, complaining you have to run the connect to Internet wizard.

    Is there any update on the issue?
    No.  I gave up and rebuilt the server - this time inside of HyperV!
    It's definetly a problem of some sort of a problem with IIS, that much is obvious.  It's frustrating, because by not being able to get to the Exchange Management Shell it made recovery of the Exchange database VERY hard. 
    The rest of this will be a bit of a rant so feel free to stop reading here if you like :) 
    I'm pretty unhappy with the fragility of recovering an Exchange databas in general - there is a VERY narrow range of parameters to get mail back - and very many things that can prevent you from recovering.  Had I suspected that there would have been
    1/10th the pain in recovering mail, before I tried to connect the clients to the new exchange I would have made .PST files for everyone - which would have worked since they all had cached .OST files, even if the clients couldn't talk to Exchange due to the
    aformentioned IIS problems.  Anyway, it was a total nightmare, extremly frustrating and while many of my problems were probalby self-induced, the total lack of a coherant disaster recovery strategy has at least motivated me to be EXTREMLY diligent about
    backups - and not just backups, but ensuring that the SBS backup is working and occasionally firing up a clone VM and doing a restore to ensure the one of two ways Exchange can be successfully backed up are indeed working.
    With such an extreme dependence on IIS for client acces AND managemet of Exchange, there really, REALLY needs to be more documentation on how Exchange uses IIS, how to step through the registry and other low-level internals to troubleshoot and compare. 
    I must have read just about every technet article and literallly hundreds of blog entries on recovering Exchange - but the lack of information about Exchange's integration and dependancies on IIS were the most frustrating of all.  Talk about putting all
    your eggs in one basket and a huge single point of failure ticking time bomb!
    And I think it was either SharePoint Express or an accidently applied SharePoint Express update that blew up IIS.  A few days after that update got applied the server was restarted, and that's when everything went completly sideways.  That's whats
    even more frustrating - that so many applications are so dependant on a now essential layer is frustrating.  I realize SBS is an exception to the rule - generally Exchange is installed on it's own server and this isn't a remote possiblity, but any update
    (or installer) that messes with IIS really needs to check the environment it's going to go into, and if there is anything at all that could possibly cause a compatibility issue, the update should "fail open" and not install wtihout explicit confirmation
    from the admin that he wants to isntall it.  Then again, another admin either ran the installer or approved the SP Express update so that still may not have saved me  - but if he saw an explicit warning he probably would not have just clicked through
    it!
    Oh well - thanks for reading if you went all the way through.  I'm just glad that it's now over :)

  • 2013 Exchange, Can't connect to Exchange Management Shell. It cannot determine the content type of the HTTP response from the destination computer.

    The following error occurs.
             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 #0:
    Did you know that the Identity parameter is a "positional parameter"? That means you can use:
     Get-Mailbox "user" instead of: Get-Mailbox -Identity "user"
    It's a neat usability shortcut!
    VERBOSE: Connecting to mail1.dorothy.local.
    New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local 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 Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
    Exception calling "GetComputerSite" with "0" argument(s): "The Specified directory object cannot be found."
    At C:\Program Files\Microsoft\Exchange Server\V15\bin\ConnectFunctions.ps1:164 char:2
    +     $localSite=[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetC ...
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ActiveDirectoryObjectNotFoundException
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.: mail1.dorothy.local
    VERBOSE: Connecting to mail1.dorothy.local.
    New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local 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 Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
    Randy Cheek

    Good Morning,
    Log into the server with an account that has appropriate Exchange rights, not a local account.  
    Note: By default - Domain Admins don't have Exchange rights.
    Dame Luthas, ITILv3, MCSE Messaging 2013, MCSA, MCITP
    My Technical Blog: http://thelifestrategist.wordpress.com
    Discipline is the Difference between Goals and Accomplishments
    If this post is useful, please hit the green arrow on the left & if this is the answer hit "mark as answer"

  • Exchange 2010 - WS-Management Service does not support

    Hi,
    We have a tool which was used for bulk Mailbox creation, Mailbox Movement etc. This we have used in Exchange 2007 also and was working fine. Now in Exchange 2010 we are facing some issues. Tool is written in VB.
    Exchange 2010 SP2 is running in all servers and we have 2 Mailbox Servers in DAG and 2 HUBCAS in CAS Array/NLB.
    When Team is trying to fetch the DB details in exchange 2010 through tool they are not able to connect and getting error as
    "Connecting to remote Server failed with the following error message. The WS-Management Service does not support the request."
    I have checked everything from Exchange like Remorepowersell status, WinRM, WS Managemet dll location and entry in config file everthing seems to be fine.
    I checked through EMTShooter tool also and no issues reported and connection was success through EMTShooter.
    Pls suggest if anymore we can check to fix the problem.
    Note: everything is working frine from Powershell and Exchange Management console.
    Regards:Mahesh

    Hi
    Yes, i got it confirmed and coding team claims that no issue with code and its working in some other setup.
    <v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f"><v:stroke joinstyle="miter"><v:formulas><v:f
    eqn="if lineDrawn pixelLineWidth 0"><v:f eqn="sum @0 1 0"><v:f eqn="sum 0 0 @1"><v:f eqn="prod @2 1 2"><v:f eqn="prod @3 21600 pixelWidth"><v:f eqn="prod @3 21600 pixelHeight"><v:f eqn="sum @0 0 1"><v:f eqn="prod @6 1 2"><v:f eqn="prod @7 21600 pixelWidth">Below
    is the snapshot of error with coding <v:f eqn="sum @8 21600 0">
      <v:f eqn="prod @7 21600 pixelHeight">
      <v:f eqn="sum @10 21600 0">
     </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
     <v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
     <o:lock aspectratio="t" v:ext="edit">
    </o:lock></v:path></v:stroke></v:shapetype><v:shape alt="" id="Picture_x0020_2" o:spid="_x0000_i1025" style="width:631.5pt;height:148.5pt;" type="#_x0000_t75">
    <v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\aralele\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
    </v:imagedata></v:shape>
    Regards:Mahesh

  • Is it possible to install Exchange Management Shell on a workstation to manage my Exchange 2013 server?

    I don't want to log into my Exchange 2013 every time when I need the Exchange Management Shell. Is that possible I can just install it on my workstation and then remote access to it? Thanks.
    Lawrence Fung

    Correct - it is in the article Amy references, but is in the bulleted section at the top
    The computer you install the management tools on must have a supported operating system (such as Windows Server 2012 or Windows 8), have enough disk space, be a member of an Active Directory domain, and satisfy other requirements. For information about system
    requirements, see
    Exchange 2013 System Requirements.
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • After fresh installation of exchange 2013 I am not seeing Exchange Management shell EMS and EAC is redirecting to OWA

    I am trying to upgrade my Exchange 2010 environment to exchange 2013. I was able to install exchange 2013 on a VM running windows 2012 R2 without any errors, however after installation I am not able to login to Exchange admin center as it keeps redirecting
    to OWA and I am not seeing Exchange management shell.

    Hi,
    What’s the version of your Exchange 2013 Server. Try updating it to the latest version first.
    If you were using an account which is still on the Exchange 2010 MBX server, this could be an issue. Try creating a new admin account on the Exchange 2013 and check if the issue still happens
    to it.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

Maybe you are looking for

  • FB01 Enter Trading Partner for Posting Key 01 (Customer Invoice)

    Dear Experts, I would like to ask is it possible to enter the Trading Partner for the FI Document line item with Posting Key 01. I can modify the Trading Partner for Posting Key 40 and 50 but I cannot find field in the More Data Button. Can anyone he

  • Customer/Vendor Reconcilliation

    Please suggest how to do Customer/ Vendor Reconciliation ? Moderator: Please, avoid asking basic questions

  • How to change max in "for" statement

    Hi, I am trying to set up a snow scene using the code below but I'd like to alter it so that it looks more natural... ie: a few flakes begin to fall, increasing as time progresses. Is there a way to increment the number used in the "for" statement wh

  • IPhoto JPG import problems on 9.3

    Since I upgraded to 9.3, I have been unbale to import photos from my camera's SD card. I gte the following errors: Any suggestions?  I get the same result on both my iMac & my MacBook Pro. They both display the pictures fine in the preview but at the

  • Kit distribution cvi 8.0 (install et uninstall)

    Bonjour, J'ai crée un kit d'installation de mon programme (sous cvi 8.0). Je lance l'install en lançant de setup.exe (avec l'option /qb pour le mode silent), par contre pour la desinstallation il n'y a plus l'option "/x" comme dans les versions précé