Depending on your environment a Hub server will contain one of more shadow redundancy queues. You could clean them up by using the queue viewer but this can be a lot of work if you have multiple Hub servers in that case Powershell is the way to go.

The Cleanup_ShadowRedundancyQueue script verifies if there are shadow redundancy queues on a server with one of more messages in it. The script will removed messages from the queue that are at least one day old. You could of course change this option if you like.

The script uses one parameter server which is used to specify the name of the Hub Transport server you would like to check.

The script can be downloaded via the link below:



Johan Veldhuis