Get-AllQueuesGUI.ps1 v1.5 [24 October 2008]

A while back I posted this , but to have something more “in your face” I put a GUI around it, and this is the latest version.

The script enumerates all messaging queue and displays it in a GUI. The GUI then refreshes every 10 seconds.
THE GUI has four tabs:

  1. Queue
    Display the current queue
  2. Message
    Displays messages in the queue
  3. Top 5 Q’s
    This displays a “progress bar” of how big the queue actually is
  4. About
    Information about the script and options to change the refresh time, logging and output a graph to PowerGadgets

Queue Tab
This tab list all of the current message queues.  It uses Get-TransportServer | get-queue  | Sort MessageCount -descending

  • Server Name drop down box
    Allows you to select an individual server
  • Refresh button
    Refreshes the data
  • Resume Q Button
    While clicking on a queue, this button will issue a Resume-Queue -Identity
  • Suspend Q Button
    While clicking on a queue, this button will issue a Suspend-Queue -Identity -confirm:$False
  • Retry Q Button
    While clicking on a queue, this button will issue a Retry-Queue -Identity
  • Main Grid
    If you double click on a queue, information about the queue will appear in a popup box

Message Tab
This tab shows the messages in the queue.  If you selected a particular server on the Queue tab, it will only show the messages for that server

  • Suspend Msg Button
    While clicking on a message, this button will issue a Suspend-Message -Identity -confirm:$False
  • Resume Msg Button
    While clicking on a message, this button will issue a Resume-Message -Identity
  • Remove Msg Button
    While clicking on a message, this button will issue a Remove-Queue -Identity -withNDR $True -confirm:$False
  • Main Grid
    If you double click on a message, information about the selected message will appear in a popup box

Top 5 Q’s Tab
This tab will list up to, the top 5 queues.  It is very very basic, but a start

About Tab
The About tab details about the script and provides options for logging, changing the update interval and outputting the script using PowerGadgets.

  • Log Stats
    When checked the queue information will be logged in a csv file when the queue count is greater than 0.  If unchecked, it will not be logged.
    You can also select the log path
  • Enable Verbose Logging
    When checked $debugpreference is set to “Continue”.  When not checked it is set to “SilentlyContinue”
  • Output to PowerGadgets
    This will output the Queue Identity and Message Count to a PowerGadgets graph
  • Maximum Graph Size
    This is the scale of graph that appears on the Top 5 Q’s tab
  • Refresh Interval
    Default is every 10 seconds.  It can be changed here.  You need to click update for this to take affect

Command Line
You can also specify the options using the command line

    Disable verbose logging
  • -REFRESH  
    Refresh interval in seconds
    Maximum value for progress graph
  • -NOLOG 
    Do not log data
  • -LOGPATH  
    Log Path in quotes

Check it out and let me know what you think


Filling the Gap in Exchange Auditing

Part of the Filling the Gaps Webcast Series
Exchange is first and foremost an e-mail server, and when e-mail servers were first designed, no one foresaw the massive dependence that would develop between organizations and their e-mail servers. Today 60% of organizations process revenue-generating orders via e-mail and approximately 75% of corporate intellectual property is being transmitted via e-mail.

Without accurate tracking of Exchange mailbox activity, organizations find it difficult to react to administrative and security-policy violations, which affect their ability to ensure compliance.

Listen to this on demand webcast as Randy Franklin Smith outlines the gaps in native Exchange audting and we share how Quest can help you fill them.

Webcast: The Top Five Ways to Keep Your Boss Out of Jail
Presented by Keri Farrell, Product Manager, eDiscovery

It’s your job to keep your messaging system operating smoothly, so users aren’t impacted.  If that’s not enough, you also have to keep your data secure and comply with regulatory requirements.  Because if you don’t, someone might go to jail.

In this informative webcast, Quest product manager Keri Farrell shares five best practices you can quickly implement to securely store and manage messaging data, efficiently report on e-mail usage, and rapidly respond to e-discovery requests.

Keep your messaging system compliant and your colleagues out of jail – access this webcast now.

Exchange 2007 Server Builds

You know sometimes you need to like automate as much of an Exchange build as possible.  Well I came across this the other day.  This was a small hole that needed to be fixed in my build.

So we know that we need a few additional components for Exchange before you can install it.  I discovered the System Optional Component Manager aka sysocmgr and this allows you to add or remove windows components.

It uses an answer file that is dead easy to setup and with one command line you could install WWW, IIS Manager, IIS Common Files and COM+

So the answer file to add these components would look like this:


so we if save this as answerfile.inf.  We can then install these components by running this:

sysocmgr /i:%windir%infsysoc.inf /u:c:tempanswerfile.inft’s that simple. 

This seems a full list of the components you can install or in fact remove using the same process

TechNet Webcast: Topologies and Routing for Exchange Server 2007 (Level 300)

Historically, Microsoft Exchange Server 2007 routing was designed to enable mail delivery over early point-to-point networks using discrete next-hop solutions. It had evolved little to take advantage of the advancements in network technologies. Learn how mail routing works in the Exchange Server 2007 environment using IP networks and Active Directory Site Topologies. Discover how Exchange Server 2007 and Exchange 200x mailflow interoperability works. Hear about recommended topology and deployment best practices. We also show how administrators can maintain their network by adjusting spam and virus settings and implementing the appropriate security policies, as well as how end-users can use simple and familiar interfaces to recover junk e-mail and apply message classifications.

Presenter: Todd Luttinen, Principal Program Manager, Microsoft Corporation

TechNet Webcast: Disaster Recovery and SCR Deep Dive (Level 300): High Availability in Exchange Server 2007 SP1 (Part 2 of 2)

Are you prepared for outages that affect e-mail service or data availability? Have you defined recovery strategies and procedures for disasters big and small? In this webcast, we cover the recommended strategies for protecting Microsoft Exchange Server 2007 messaging service and data, with an emphasis on the ultimate disaster: a full site failure. Join us as we dive deep into standby continuous replication (SCR), which was designed with these disasters in mind.

Presenter: Scott Schnoll, Principal Technical Writer, Microsoft Corporation