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

  • -NODEBUG 
    Disable verbose logging
  • -REFRESH  
    Refresh interval in seconds
  • -MAXGRAPH  
    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

http://www.quest.com/events/listdetails.aspx?contentid=7617&technology=6&prod=&prodfamily=&loc=

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.