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 :)

Similar Messages

  • How to: Get a list of mail users by using the Exchange Management Shell

    Hello every one, quick question: When I run this code below for VB, how will I see the results of the program? Is there anyway I can make the results appear in a message box?
    Function GetUsersUsingBasicAuth( _
        ByVal LiveIDConnectionUri
    As String, ByVal ScehmaUri
    As String, _
        ByVal Credentials
    As PSCredential, ByVal
    Count As Integer)
    As Collection(Of PSObject)
        Dim ConnectionInfo
    As WSManConnectionInfo = _
            New WSManConnectionInfo(New Uri(LiveIDConnectionUri), ScehmaUri, Credentials)
        ConnectionInfo.AuthenticationMechanism = AuthenticationMechanism.Basic
        Dim RemoteRunspace
    As Runspace
        RemoteRunspace = RunspaceFactory.CreateRunspace(ConnectionInfo)
        Return GetUserInformation(Count, RemoteRunspace)
      End Function
    Function GetUserInformation(ByVal
    Count As
    Integer, ByVal RemoteRunspace
    As Runspace) As Collection(Of PSObject)
        Dim RemotePowerShell
    As PowerShell = PowerShell.Create
        RemotePowerShell.AddCommand("Get-Users")
        RemotePowerShell.AddParameter("ResultSize",
    Count)
        ' Open the remote runspace on the server.
        RemoteRunspace.Open()
        ' Associate the runspace with the Exchange Management Shell.
        RemotePowerShell.Runspace = RemoteRunspace
        ' Invoke the Exchange Management Shell to run the command.
        Return RemotePowerShell.Invoke
    End Function

    All you need to do is enumerate through the Collection returned eg
    Dim commandResults As Collection(Of PSObject)
    commandResults = RemotePowerShell.Invoke()
    For Each obj As PSObject In commandResults
    MessageBox.Show(obj.Properties("DisplayName").Value.ToString())
    Next
    Cheers
    Glen

  • I have problem with the Exchange managment shell

    The error is:
    Connecting to remote server failed with the following error message : Access denied. For more information, see the about_Remote_Troubleshooting Help topic. 
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException 
        + FullyQualifiedErrorId : PSSessionOpenFailed

    Hi,
    Firstly verify that the user name and password you're using are correct.
    If you are the Exchange Administrator, then the account you are using should be a member of the Organization Management group.
    To add the user as a member of the Organization Management role group, follow these steps:
    In the Exchange Management Console (EMC), navigate to
    Toolbox in the console tree.
    In the work pane, double-click
    Role Based Access Control (RBAC) User Editor to open the user editor in the Exchange Control Panel (ECP).
    Sign in as an administrator.
    Click the
    Administrator Roles tab.
    Select Organization Management group, then click
    Details.
    In the
    Members section, click Add.
    Select the your account and then click
    OK.
    Click
    Save to save the changes to the role group.
    If there are any other problem to accesss EMS, please check this blog.
    http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
    Best Regards.

  • Is there a limit to the number of books and PDFs one can store in iBooks?

    My Bookshelf has about 8 books and more PDFs and today I added an airline timetable and just like that, half of the books and half of the PDFs are gone! Is this normal behavior because of a limitation to the capacity of the Bookshelf? If so, it would have been nice to get some kind of warning that it was about to be exceeded and do I still want to continue? I'm away from my home computer and unable to sync with iTunes.

    There may be a display limitation like there is with photos...with photos the way in which the iPad Photos handles indexing and thumbnails has caused people some problems because they have plenty of storage space left but can not have more photos. The ram memory is only 256 MB so you run out of display space. Have you tried deleting the offending timetable and see if the books reappear?

  • Recovery data using Exchange Management Shell From Recovery Database

    Recently Some of our employees had been requesting a restore of some deleted emails from earlier in the year. Through our Backup Exec 2012 the recovery of the emails were not working. After 2 weeks on the phone with Symantec we determined that theyre Granular
    Recovery Technology was not functioning properly for whatever reasons. As a last resort we recovered the backup set to a recovery database and now need to use the management shell in Exchange in order to recover the emails. I am having trouble with the
    syntax and wanted to see if anyone out there could help me with the necessary commands in order to recover emails. forgive me if i have left out any required information. i am still a student trying to learn

    If you are interested in 3rd party products check out Lucid8's DigiScope
    http://www.lucid8.com/product/digiscope.asp
    which will allow you to open any offline Exchange Database within a familiar Outlook type GUI.  Once opened you can Browse, Search, Export Mailboxes, Folders and Individual Items to PST & MSG or Recover data directly to any Production Exchange
    server or mailbox.
    Regarding the RDB commands, here is a good article
    http://technet.microsoft.com/en-us/library/ee332351.aspx and also here are a couple of Examples
    NOTE:  The examples below assume that you have recovered the DB in question to the RDB and that a copy of the mailbox belonging to John_Doe is within the Recovery Database.
    A:  The command below will recover the mailbox called John_Doe from the Recovery Database called
    RecoveryDatabase1 to the John_Doe mailbox in the live database.  NOTE: This method relies on the original mailbox still being intact on the Production Server.
    Use the Exchange Management Shell and run the following command:
    Restore-Mailbox -Identity John_Doe -Recovery Database RecoveryDatabase1
    B:  You can also recover the John_Doe mailbox from the Recovery Database and place it into
    a folder called "John_Doe Recovery" within a mailbox called BobTheManager.
    Use the Exchange Management Shell and run the following command:
    Restore-Mailbox -Identity BobTheManager -RecoveryDatabase RecoveryDatabase1 -RecoveryMailbox John_Doe -TargetFolder “John_Doe Recovery"
    C: There is also the ability to search the mailbox content for keywords.  In this example we
    search for any messages containing the word “SecretStuff” and restore those items to a folder called “John_Doe recovery with SuperSecret text” within a mailbox called JaneSupervisor. 
    Use the Exchange Management Shell and run the following command:
    Restore-Mailbox -Identity JaneSupervisor -RecoveryDatabase RecoveryDatabase1 -RecoveryMailbox John_Doe -SubjectKeywords "SecretStuff"
    –TargetFolder “John_Doe recovery with SecretStuff"
    Troy Werelius
    www.Lucid8.com
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope

  • 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"

  • 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

  • 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.

  • 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.

  • Error communicating with the Cluster Manage Web Service

    Hi,
    i connected oracle database with the Endeca Studio but while uploading Departments dataset i m getting this error
    "Error communicating with the Cluster Manage Web Service" so plz can anyone explain me wat is this error about.
    thanks in advance

    I actually ran into this myself- as Pat notes, it's hard to say without seeing log files, but I think that perhaps the default domain profile that the Endeca Server uses for domains created using Provisioning services has not been created.  First see what domain profiles exist.  Navigate to wherever endeca-cmd lives (e.g., user_projects/domains/endeca_server_domain/EndecaServer/bin), and use the list-dd-profile command:
    -bash-3.2$ ./endeca-cmd.sh list-dd-profiles
    The profiles that exist will be returned in your terminal window:
    prov_dd_profile
    default
    If you only see 'default', then you will need to create 'prov_dd_profile'
    ./endeca-cmd.sh put-dd-profile prov_dd_profile
    Then try uploading your file again in Studio.
    Cheers,
    Andrew

  • 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

  • Export Public Folder contacts to CSV File using Exchange management Shell

    Hi All
    Is there a command i can run in the exchange management shell to export all public folder contacts (which are in many sub folders) to a CSV file?
    Any help on this appreciated.
    Ben Weinberg
    Prime-Networks
    www.prime-networks.co.uk
    Please post the resolution to your issue so that everyone can benefit
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Hello Ben,
    Per my knowledge, you cannot use Exchange Management Shell to export the contacts in public folder to csv file.
    If you want to export contacts in public folder to a csv file, you can follow this way to do that:
    Open Outlook and create a Temp Contact Folder
    Move all the contacts to the Temp Contact Folder
    Use Outlook export contacts to csv file .
    Thanks,
    Evan Liu
    TechNet Subscriber Support
    in forum
    If you have any feedback on our support, please contact
    [email protected]  

  • SBS2011: Starting Exchange Management shell failed with the following Error 7BF3678A-829B-4F11-884C-4D 49060D84E6

    SBS2011: Starting Exchange Management shell failed with the following Error 7BF3678A-829B-4F11-884C-4D 49060D84E6
    This is not a REMOTE Exchange 2010 server, I'm launching it from the SBS2011 Console with the Domain Admin.
    It looks like a permissions error, because when I use "RUN AS ADMINISTRATOR" on the exchange management tool, it launches with no errors and no issues...
    I searched and I couldn't find anything that fits this exact error.
    Thanks
    Russ

    Hi,
    Any update?
    Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
    Best Regards,
    Andy Qi
    TechNet
    Subscriber Support
    If you are TechNet
    Subscription user and have any feedback on our support quality, please send your feedbackhere.
    Andy Qi
    TechNet Community Support

  • 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

  • Exchange Edge clone config import in Exchange Management shell throws error "You cannot call a method on a null-valued expression"

    Hi All,
    During the Coexistence of Exchange 2007 to 2010 Migration..
    I have create new Edge Scubscription in Edge Server 1 and Export the Edge Configuration File from Edge Server 1.
    While trying to Import Edge configuration to Edge Server 2 in Exchange Management Shell, I am getting the below Error.
    I have tried importing on both Exchange 2007 and 2010 Edge Servers, getting the same error.
    "Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression."
    Please help in resolving this issue...

    Also found the CloneLogFile as below : I masked my domain name as xxx for security reason..
    Get-TransportServer -Identity:xxx | Set-TransportServer -AntispamAgentsEnabled:$true -ConnectivityLogEnabled:$false -ConnectivityLogMaxAge '30.00:00:00' -ConnectivityLogMaxDirectorySize '250MB' -ConnectivityLogMaxFileSize '10MB' -ConnectivityLogPath 'C:\Program
    Files\Microsoft\Exchange Server\TransportRoles\Logs\Connectivity' -DelayNotificationTimeout '04:00:00' -ExternalDelayDsnEnabled:$true -ExternalDNSAdapterEnabled:$true -ExternalDNSAdapterGuid '00000000-0000-0000-0000-000000000000' -ExternalDNSProtocolOption
    'Any' -ExternalDNSServers:$null -ExternalIPAddress:$null -ExternalDsnDefaultLanguage 'en-US' -ExternalDsnLanguageDetectionEnabled:$true -ExternalDsnMaxMessageAttachSize '10MB' -ExternalDsnSendHtml:$true -InternalDelayDsnEnabled:$true -InternalDNSAdapterEnabled:$true
    -InternalDNSAdapterGuid '00000000-0000-0000-0000-000000000000' -InternalDNSProtocolOption 'Any' -InternalDNSServers:$null -InternalDsnDefaultLanguage 'en-US' -InternalDsnLanguageDetectionEnabled:$true -InternalDsnMaxMessageAttachSize '10MB' -InternalDsnSendHtml:$true
    -MaxConcurrentMailboxDeliveries '7' -MaxConcurrentMailboxSubmissions '20' -MaxConnectionRatePerMinute '1200' -MaxOutboundConnections '1000' -MaxPerDomainOutboundConnections '20' -MessageExpirationTimeout '2.00:00:00' -MessageRetryInterval '00:01:00' -MessageTrackingLogEnabled:$true
    -MessageTrackingLogMaxAge '30.00:00:00' -MessageTrackingLogMaxDirectorySize '1GB' -MessageTrackingLogMaxFileSize '10MB' -MessageTrackingLogPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\MessageTracking' -MessageTrackingLogSubjectLoggingEnabled:$true
    -OutboundConnectionFailureRetryInterval '00:30:00' -IntraOrgConnectorProtocolLoggingLevel 'None' -PickupDirectoryMaxHeaderSize '64KB' -PickupDirectoryMaxMessagesPerMinute '100' -PickupDirectoryMaxRecipientsPerMessage '100' -PickupDirectoryPath 'C:\Program
    Files\Microsoft\Exchange Server\TransportRoles\Pickup' -PipelineTracingEnabled:$false -ContentConversionTracingEnabled:$false -PipelineTracingPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\PipelineTracing' -PipelineTracingSenderAddress:$null
    -PoisonMessageDetectionEnabled:$true -PoisonThreshold '2' -QueueMaxIdleTime '00:03:00' -ReceiveProtocolLogMaxAge '30.00:00:00' -ReceiveProtocolLogMaxDirectorySize '250MB' -ReceiveProtocolLogMaxFileSize '10MB' -ReceiveProtocolLogPath 'C:\Program Files\Microsoft\Exchange
    Server\TransportRoles\Logs\ProtocolLog\SmtpReceive' -RecipientValidationCacheEnabled:$true -ReplayDirectoryPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Replay' -RoutingTableLogMaxAge '7.00:00:00' -RoutingTableLogMaxDirectorySize '50MB' -RoutingTableLogPath
    'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\Routing' -SendProtocolLogMaxAge '30.00:00:00' -SendProtocolLogMaxDirectorySize '250MB' -SendProtocolLogMaxFileSize '10MB' -SendProtocolLogPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\ProtocolLog\SmtpSend'
    -TransientFailureRetryCount '6' -TransientFailureRetryInterval '00:10:00'
    New-AcceptedDomain -DomainName 'xxx' -DomainType 'Authoritative' -Name 'xxx'
    Set-AcceptedDomain -DomainType 'Authoritative' -AddressBookEnabled:$true -Name 'xxx'
    Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression.

Maybe you are looking for

  • Actualización gratuita CS5 a CS5.5 para compras recientes

    Tengo entendido que para quienes recientemente compramos la suite design premium cs5 Adobe nos entregaría de forma gratuita el upgrade a 5.5 eso fue lo que me informaron en tienda, alguien tiene alguna referencia al respecto... hay que solicitarlo a

  • IB:How to update a serial Number which has Inventory Material Transactions?

    Dear friends first of all thanks for your time and valuable solutions Install base: How to update a serial Number which has Inventory Material Transactions problem description: Install base > quick search Here is Installbase record, when I query from

  • Dump while creating sales order using BAPI

    Hi Experts, I am trying to create a sales order in my alv report using BAPI_SALESORDER_CREATEFROMDAT2. I get a dump while executing the program. Please suggest me where I am going wrong. |Source Code Extract                                           

  • How do I get Finder to show thumbnail icons of symlinks to images?

    For some reason, even when I have icon preview enabled, instead of showing the thumbnail of the image, it shows a generic JPG icon with an arrow.  This is really frustrating because I need to be able top see thumbnails of all my images at once, so I

  • One domain in different mailhost

    Sorry for my english: it's very terrible! I have Sun Java Communication Suite with Sun Java(tm) System Messaging Server 6.3-0.15 (built Feb 9 2007) libimta.so 6.3-0.15 (built 18:37:56, Feb 9 2007) Linux public23.dmz.ritanet 2.6.9-55.ELsmp #1 SMP Fri