hello
Google
Welcome to Carpe Diem: Flaphead@Home Sign in | Join | Help

Carpe Diem: Flaphead.com

Seize the Day

News


  • Add to Technorati Favorites <script type="text/javascript" src="http://technorati.com/embed/3ni3q36ikc.js"> </script>
    This information is provided "AS IS" with no warranties, and confers no rights. Also some of the information contains my views and thoughts.
    <script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"></script>

    Add Me! - Search Engine Optimization

    I heart FeedBurner

get-allqueues.ps1 v1.0

Can remember if I posted this or not, but I forgot who handy it is.

basically if just runs get-queue, but for all you Exchange 2007 Hub Transport Servers 

Ah, but what is really cool is this .. You can do "stuff" with the output 

So you could run

[PS] C:\ps>.\get-allqueues.ps1

[PS] C:\ps>.\get-allqueues.ps1 | WHERE {$_.MessageCount -gt 0}

[PS] C:\ps>.\get-allqueues.ps1 | WHERE {$_.MessageCount -gt 0} | get-message

[PS] C:\ps>.\get-allqueues.ps1 | WHERE {$_.MessageCount -gt 0} | get-message | fl

check it out and let me know what you think

##########################################################################################
$AppName = "get-allqueues.ps1"
$AppVer  = "v1.0 [9 May 2007]"
#v1.0 9th May 2007                         
#Written By Paul Flaherty                  
#blogs.flaphead.com                        
##########################################################################################

##########################################################################################
#Display script name and version
##########################################################################################
Write-host $AppName -NoNewLine -foregroundcolor Green
Write-Host ": " $AppVer -foregroundcolor Green
Write-host ""

Get-ExchangeServer | where {$_.ServerRole -eq "HubTransport"} | get-queue

Posted: 09 November 2007 15:39 by Paul Flaherty
Attachment(s): get-allqueues.ps1

Comments

subject: exchange said:

One step better than get-command MAPI Messaging Benchmark Being Retired Outlook Anywhere changes in Exchange

# November 9, 2007 19:28

Flaphead on TechNet said:

Can remember if I posted this or not, but I forgot who handy it is. basically if just runs get-queue,

# November 12, 2007 19:31

Carpe Diem: Flaphead.com @ Home said:

I just have to share this with you.&#160; So for those of us who have Installed Exchange 2007 RTM, you

# November 28, 2007 19:06

Carpe Diem: Flaphead.com @ Home said:

I just have to share this with you. So for those of us who have Installed Exchange 2007 RTM, you may

# November 28, 2007 19:07

Carpe Diem: Flaphead.com said:

A while back I posted this , but to have something more "in your face" I put a GUI around it, and this

# October 31, 2008 11:57
New Comments to this post are disabled