how to export the details of the queue in the exchange

Copper Contributor

hi all,


i always see the junk email in my queue viewer, are there any way to export the detials from the above figure, so that i can analyze if the junk emails are coming the same IP address or domain, then i can block it from senderfilter.


thank you 

ma Gen Qun

2 Replies
best response confirmed by laomashitu (Copper Contributor)
Use the Get-Queue cmdlet to select the queue(s) in question, then the Get-Message cmdlet to list the messages therein. You can also use the pipeline (i.e. Get-Queue | Get-Message).

@Vasil Michev 


many thanks, it is working.