Exchange mail database on server not allowing connections

Welcome Forums General PowerShell Q&A Exchange mail database on server not allowing connections

This topic contains 3 replies, has 3 voices, and was last updated by

 
Participant
1 year, 8 months ago.

  • Author
    Posts
  • #65986
    Hil

    Participant
    Points: 1
    Rank: Member

    We had an incident this morning when a mail database was showing healthy, but was not allowing connection from users.
    (As it was showing healthy it did not failover to an alternate server).
    We have resolved the problem as of now.
    Although I am trying to find a way to monitor if the same thing happens again in the future.

    So is there a powershell command to check the database for this specific occurrence OR
    Maybe a powershell command that can check user connectivity to an exchange database.

    Please help
    Thanks

  • #65989

    Keymaster
    Points: 1,619
    Helping HandTeam Member
    Rank: Community Hero

    PowerShell isn't really a monitoring system; you'd be far better served by using actual monitoring tools. In the MS space, for example, there's SCOM and OMS. SImply running a PowerShell script over and over to check connectivity isn't very performance-friendly, and no, I'm not aware of a command specifically for the situation you describe (there aren't any "monitoring" commands).

  • #65992
    Hil

    Participant
    Points: 1
    Rank: Member

    Yes we do use SCOM and we did not get an alert.
    In any case I was looking for a alternative approach with a powershell command as referenced above

  • #66186

    Participant
    Points: 0
    Rank: Member

    Hi

    You can try test-outlookconnectivity command as a script along with the email option. schedule this script to run every couple of hours and send the output if it has a login failure or whatever error conditions you might require

    Test-OutlookConnectivity -ProbeIdentity "OutlookRpcCTPProbe" -MailboxID testuser@domain.com | Select-Object MonitorIdentity,ResultType,FailureContext,ExecutionStartTime,ExecutionEndTime

    Regards
    Prabhakar

The topic ‘Exchange mail database on server not allowing connections’ is closed to new replies.