We help IT Professionals succeed at work.
Get Started

Exchange 2007 Queue alert script

Last Modified: 2012-08-16
Hi Team,

We have a script in place to alert us if the exchange queue is having more than 100 emails.

$count = 100
$limit = get-transportserver | Get-Queue -Filter {MessageCount -gt $count}

created a batch file and scheduled every 2 mins to run. If the queue has messages it will trigger an email to our admin PDL.

Now my queustion is we have 3 connectors
1. Outbound Queue
2. unity Q
3. Journal Queue

Unity & Journal Queue will send mails from exchange 2007 to 2003 using internal routing group connector.

The script is triggering mails only if mails are queued in outboung 2007 exchange queue.

Can we finetune this script to monitor the defualt routing group connector and trigger email.

We have many issues with the other mails which are flowing to 2003 exchange servers.

plz suggest me.
Watch Question
Solutions Architect, Project Lead
Top Expert 2013
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE